| typedef struct _xmlMutex | xmlMutex | 
| typedef xmlMutex * | xmlMutexPtr | 
| typedef struct _xmlRMutex | xmlRMutex | 
| typedef xmlRMutex * | xmlRMutexPtr | 
| XMLPUBFUN xmlMutexPtr XMLCALL | xmlNewMutex | ( | void | ) | 
xmlNewMutex:
xmlNewMutex() is used to allocate a libxml2 token struct for use in synchronizing access to data.
Returns a new simple mutex pointer or NULL in case of error
OOM: possible --> NULL is returned (OOM flag is NOT SET)
| XMLPUBFUN void XMLCALL | xmlMutexLock | ( | xmlMutexPtr | tok | ) | 
xmlMutexLock: xmlMutexLock() is used to lock a libxml2 token.
| Parameters | |
|---|---|
| tok | the simple mutex | 
| XMLPUBFUN void XMLCALL | xmlMutexUnlock | ( | xmlMutexPtr | tok | ) | 
xmlMutexUnlock: xmlMutexUnlock() is used to unlock a libxml2 token.
| Parameters | |
|---|---|
| tok | the simple mutex | 
| XMLPUBFUN void XMLCALL | xmlFreeMutex | ( | xmlMutexPtr | tok | ) | 
xmlFreeMutex: xmlFreeMutex() is used to reclaim resources associated with a libxml2 token struct.
| Parameters | |
|---|---|
| tok | the simple mutex | 
| XMLPUBFUN xmlRMutexPtr XMLCALL | xmlNewRMutex | ( | void | ) | 
xmlNewRMutex:
xmlRNewMutex() is used to allocate a reentrant mutex for use in synchronizing access to data. token_r is a re-entrant lock and thus useful for synchronizing access to data structures that may be manipulated in a recursive fashion.
Returns the new reentrant mutex pointer or NULL in case of error
| XMLPUBFUN void XMLCALL | xmlRMutexLock | ( | xmlRMutexPtr | tok | ) | 
xmlRMutexLock: xmlRMutexLock() is used to lock a libxml2 token_r.
| Parameters | |
|---|---|
| tok | the reentrant mutex | 
| XMLPUBFUN void XMLCALL | xmlRMutexUnlock | ( | xmlRMutexPtr | tok | ) | 
xmlRMutexUnlock: xmlRMutexUnlock() is used to unlock a libxml2 token_r.
| Parameters | |
|---|---|
| tok | the reentrant mutex | 
| XMLPUBFUN void XMLCALL | xmlFreeRMutex | ( | xmlRMutexPtr | tok | ) | 
xmlFreeRMutex: xmlRFreeMutex() is used to reclaim resources associated with a reentrant mutex.
| Parameters | |
|---|---|
| tok | the reentrant mutex | 
| XMLPUBFUN void XMLCALL | xmlInitThreads | ( | void | ) | 
xmlInitThreads:
xmlInitThreads() is used to to initialize all the thread related data of the libxml2 library.
| XMLPUBFUN void XMLCALL | xmlLockLibrary | ( | void | ) | 
xmlLockLibrary:
xmlLockLibrary() is used to take out a re-entrant lock on the libxml2 library.
| XMLPUBFUN void XMLCALL | xmlUnlockLibrary | ( | void | ) | 
xmlUnlockLibrary:
xmlUnlockLibrary() is used to release a re-entrant lock on the libxml2 library.
| XMLPUBFUN int XMLCALL | xmlGetThreadId | ( | void | ) | 
xmlGetThreadId:
xmlGetThreadId() find the current thread ID number
Returns the current thread ID number
| XMLPUBFUN int XMLCALL | xmlIsMainThread | ( | void | ) | 
xmlIsMainThread:
xmlIsMainThread() check whether the current thread is the main thread.
Returns 1 if the current thread is the main thread, 0 otherwise
| XMLPUBFUN void XMLCALL | xmlCleanupThreads | ( | void | ) | 
xmlCleanupThreads:
xmlCleanupThreads() is used to to cleanup all the thread related data of the libxml2 library once processing has ended.
| XMLPUBFUN xmlGlobalStatePtr XMLCALL | xmlGetGlobalState | ( | void | ) | 
Retrieves a pointer to the 'global state' structure that contains all global settings
Initialization of global data is performed when first user of XML Engine calls XmlEngine::XmlEngineAttachL() or XmlEngine::XmlEnginePushL()