Entry: JS_ClearContextThread (Function)
Summary: Removes the association between a context and the current thread.
Syntax:
intN JS_ClearContextThread(JSContext *cx);
Argument Type Description
*cx JSContext Pointer to a previously established JS context.
Description:
JS_ClearContextThread clears any tie cx had with a thread. The context should not be used until it as associated with another thread via JS_SetContextThread.
JS_ClearContextThread returns the thread ID of the last thread to be associated with this context.
See also:
|
|
|