Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SetThreadpoolCallbackRunsLong
Collapse the table of content
Expand the table of content

SetThreadpoolCallbackRunsLong function

Indicates that callbacks associated with this callback environment may not return quickly.

Syntax


VOID SetThreadpoolCallbackRunsLong(
  _Inout_ PTP_CALLBACK_ENVIRON pcbe
);

Parameters

pcbe [in, out]

A TP_CALLBACK_ENVIRON structure that defines the callback environment. The InitializeThreadpoolEnvironment function returns this structure.

Return value

This function does not return a value.

Remarks

The thread pool may use this information to better determine when a new thread should be created.

This function is implemented as an inline function.

To compile an application that uses this function, define _WIN32_WINNT as 0x0600 or higher.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

WinBase.h (include Windows.h)

See also

CallbackMayRunLong
DestroyThreadpoolEnvironment
InitializeThreadpoolEnvironment
SetThreadpoolCallbackCleanupGroup
SetThreadpoolCallbackLibrary
SetThreadpoolCallbackPool
SetThreadpoolCallbackPriority
Thread Pools

 

 

Community Additions

ADD
Show:
© 2015 Microsoft