diff options
author | snowdrop | 2004-08-30 07:33:49 +0000 |
---|---|---|
committer | snowdrop | 2004-08-30 07:33:49 +0000 |
commit | 5673c701448b9dfeb2bcf78fbdeeeff0089dd446 (patch) | |
tree | 77ebb720f919d4df568373e796642134358862ff /libcsoap/libxml/nthreads.h | |
parent | c3124348d799ab746a5f4ab3d0d9175db9dac0ce (diff) | |
download | csoap-5673c701448b9dfeb2bcf78fbdeeeff0089dd446.tar.gz csoap-5673c701448b9dfeb2bcf78fbdeeeff0089dd446.tar.bz2 |
modev to libsoap-win32 project
Diffstat (limited to 'libcsoap/libxml/nthreads.h')
-rw-r--r-- | libcsoap/libxml/nthreads.h | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/libcsoap/libxml/nthreads.h b/libcsoap/libxml/nthreads.h deleted file mode 100644 index 9a7e362..0000000 --- a/libcsoap/libxml/nthreads.h +++ /dev/null @@ -1,66 +0,0 @@ -/** - * Summary: interfaces for thread handling - * Description: set of generic threading related routines - * - * Copy: See Copyright for the status of this software. - * - * Author: Daniel Veillard - */ - -#ifndef __XML_NTHREADS_H__ -#define __XML_NTHREADS_H__ - -#include <libxml/xmlversion.h> - -#ifdef __cplusplus -extern "C" { -#endif - -/* - * 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; - -#ifdef __cplusplus -} -#endif - -#include <libxml/globals.h> - -#ifdef __cplusplus -extern "C" { -#endif - -struct _xmlThreadHandler -{ - xmlMutexPtr (XMLCALL *newMutex) (void); - void (XMLCALL *lockMutex) (xmlMutexPtr); - void (XMLCALL *unlockMutex) (xmlMutexPtr); - void (XMLCALL *freeMutex) (xmlMutexPtr); - - xmlRMutexPtr (XMLCALL *newRMutex) (void); - void (XMLCALL *lockRMutex) (xmlRMutexPtr); - void (XMLCALL *unlockRMutex) (xmlRMutexPtr); - void (XMLCALL *freeRMutex) (xmlRMutexPtr); - - xmlGlobalStatePtr (XMLCALL *getGlobalState)(void); - int (XMLCALL *getThreadId) (void); - int (XMLCALL *isMainThread) (void); -}; -typedef struct _xmlThreadHandler xmlThreadHandler; -typedef xmlThreadHandler* xmlThreadHandlerPtr; - - -#ifdef __cplusplus -} -#endif - - -#endif /* __XML_THREADS_H__ */ |