Condividi tramite


CRTThreadTraits Class

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

Important

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

class CRTThreadTraits

Members

Public Methods

Name

Description

CRTThreadTraits::CreateThread

(Static) Call this function to create a thread that can 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 not be using CRT functions, use Win32ThreadTraits instead.

Requirements

Header: atlbase.h

See Also

Other Resources

ATL Class Overview