Lines Matching defs:thread
142 * - globalkey used for per-thread data
153 static __declspec(thread) xmlGlobalState tlstate;
154 static __declspec(thread) int tlstate_inited = 0;
465 /* If another thread successfully recorded its critical
467 * allocated by this thread. */
491 /* If another thread successfully recorded its critical
493 * allocated by this thread. */
543 * Per thread global state handling *
554 * @state: a thread global state
556 * xmlFreeGlobalState() is called when a thread terminates with a non-NULL
564 /* free any memory allocated in the thread's xmlLastError */
573 * hold all data for use by a thread when supporting backwards compatibility
574 * of libxml2 to pre-thread-safe behaviour.
601 HANDLE thread;
610 WaitForSingleObject(params->thread, INFINITE);
611 CloseHandle(params->thread);
652 * xmlGetGlobalState() is called to retrieve the global state for a thread.
654 * Returns the thread global state or NULL in case of error
711 GetCurrentProcess(), &p->thread, 0, TRUE,
753 * Library wide thread interfaces *
760 * xmlGetThreadId() find the current thread ID number
764 * Returns the current thread ID number
791 * xmlIsMainThread() check whether the current thread is the main thread.
793 * Returns 1 if the current thread is the main thread, 0 otherwise
857 * xmlInitThreads() is used to to initialize all the thread related
897 * xmlCleanupThreads() is used to to cleanup all the thread related
901 * calling this may crash the application if another thread or
968 /* Another thread is working; give up our slice and
992 * Entry point for Windows library. It is being used to free thread-specific