How To Name a Thread

From RAD Studio
Jump to: navigation, search

Go Up to Naming a Thread

You might want to name your thread classes to make it easier to tell multiple threads apart.

To name a thread

  1. Click either:
    • File > New > Other > Delphi Projects > Delphi Files > Thread Object
    • File > New > Other > C++ Projects > C++ Files > Thread Object.
The New Thread Object dialog box appears.
  1. When you are creating a thread class in the New Thread Object dialog box, do the following:
    1. Enter the class name.
    2. Check the Named Thread check box.
    3. Enter a thread name of your choice.
    4. Click OK.


See Also