Download pgsql/include/libxml/threads.h from codekingpro/portable-devtools: direct link, hf CLI and curl.
- Browser
- Download file 1.88 kB
-
https://huggingface.co/datasets/codekingpro/portable-devtools/resolve/df58e70f9edde36aaca2d2aacc2440dd6c2f807d/pgsql/include/libxml/threads.h
- Command line
-
hf download hf://datasets/codekingpro/portable-devtools@df58e70f9edde36aaca2d2aacc2440dd6c2f807d/pgsql/include/libxml/threads.h
-
curl -L -o threads.h https://huggingface.co/datasets/codekingpro/portable-devtools/resolve/df58e70f9edde36aaca2d2aacc2440dd6c2f807d/pgsql/include/libxml/threads.h
1.88 kB
| /** | |
| * Summary: interfaces for thread handling | |
| * Description: set of generic threading related routines | |
| * should work with pthreads, Windows native or TLS threads | |
| * | |
| * Copy: See Copyright for the status of this software. | |
| * | |
| * Author: Daniel Veillard | |
| */ | |
| extern "C" { | |
| /* | |
| * xmlMutex are a simple mutual exception locks. | |
| */ | |
| typedef struct _xmlMutex xmlMutex; | |
| typedef xmlMutex *xmlMutexPtr; | |
| /* | |
| * xmlRMutex are reentrant mutual exception locks. | |
| */ | |
| typedef struct _xmlRMutex xmlRMutex; | |
| typedef xmlRMutex *xmlRMutexPtr; | |
| } | |
| extern "C" { | |
| XMLPUBFUN xmlMutexPtr | |
| xmlNewMutex (void); | |
| XMLPUBFUN void | |
| xmlMutexLock (xmlMutexPtr tok); | |
| XMLPUBFUN void | |
| xmlMutexUnlock (xmlMutexPtr tok); | |
| XMLPUBFUN void | |
| xmlFreeMutex (xmlMutexPtr tok); | |
| XMLPUBFUN xmlRMutexPtr | |
| xmlNewRMutex (void); | |
| XMLPUBFUN void | |
| xmlRMutexLock (xmlRMutexPtr tok); | |
| XMLPUBFUN void | |
| xmlRMutexUnlock (xmlRMutexPtr tok); | |
| XMLPUBFUN void | |
| xmlFreeRMutex (xmlRMutexPtr tok); | |
| /* | |
| * Library wide APIs. | |
| */ | |
| XML_DEPRECATED | |
| XMLPUBFUN void | |
| xmlInitThreads (void); | |
| XMLPUBFUN void | |
| xmlLockLibrary (void); | |
| XMLPUBFUN void | |
| xmlUnlockLibrary(void); | |
| XML_DEPRECATED | |
| XMLPUBFUN int | |
| xmlGetThreadId (void); | |
| XML_DEPRECATED | |
| XMLPUBFUN int | |
| xmlIsMainThread (void); | |
| XML_DEPRECATED | |
| XMLPUBFUN void | |
| xmlCleanupThreads(void); | |
| XML_DEPRECATED | |
| XMLPUBFUN xmlGlobalStatePtr | |
| xmlGetGlobalState(void); | |
| /** DOC_DISABLE */ | |
| int | |
| xmlDllMain(void *hinstDLL, unsigned long fdwReason, | |
| void *lpvReserved); | |
| /** DOC_ENABLE */ | |
| } | |