Share via


Win32ThreadTraits Class

This class provides the creation function for a Windows thread. Use this class if the thread will not use CRT functions.

Important

This class and its members cannot be used in applications that execute in the Windows Runtime.

class Win32ThreadTraits

Members

Public Methods

Name

Description

Win32ThreadTraits::CreateThread

(Static) Call this function to create a thread that should not use CRT functions.

Remarks

Thread traits are classes that provide a creation function for a particular type of thread. The creation function has the same signature and semantics as the Windows CreateThread function.

Thread traits are used by the following classes:

If the thread will be using CRT functions, use CRTThreadTraits instead.

Requirements

Header: atlbase.h

See Also

Other Resources

ATL Class Overview