ISchedulerProxy::UnbindContext Method
Disassociates a thread proxy from the execution context specified by the pContext parameter and returns it to the thread proxy factory's free pool. This method may only be called on an execution context which was bound via the ISchedulerProxy::BindContext method and has not yet been started via being the pContext parameter of an IThreadProxy::SwitchTo method call.
virtual void UnbindContext(
_Inout_ IExecutionContext * pContext
) =0;
Parameters
- pContext
The execution context to disassociate from its thread proxy.
Requirements
Header: concrtrm.h
Namespace: concurrency