CreateThreadFlags Enumeration

Specifies the flags that control the creation of a thread.

Definition

Namespace: DevCase.Win32.Enums
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[FlagsAttribute]
public enum CreateThreadFlags

Remarks

Members

Default 0 The thread runs immediately after creation.
CreateSuspended 4 The thread is created in a suspended state, and does not run until the ResumeThread(SafeAccessTokenHandle) function is called.
StackSizeParamIsAReservation 65,536 The dwStackSize parameter specifies the initial reserve size of the stack.

If this flag is not specified, stackSize parameter of CreateThread(SecurityAttributes, IntPtr, IntPtr, IntPtr, CreateThreadFlags, UInt32) specifies the commit size.

See Also