aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/mutex/pthreads/mux_pthr.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-09-30 04:35:34 +0000
committerlloyd <[email protected]>2008-09-30 04:35:34 +0000
commit3c55f159b8e2ff80c0f0ab0820de0afc414be7db (patch)
tree6370650255987e8df89b8ef90f46a5eec92b70ed /src/utils/mutex/pthreads/mux_pthr.h
parenteee6e1e1ec225c3301cef6839225317a8cc9cf4a (diff)
Split off part of the core module into libstate (basically the whole
lookup/global_state piece). Move timer and mutex directories into utils/
Diffstat (limited to 'src/utils/mutex/pthreads/mux_pthr.h')
-rw-r--r--src/utils/mutex/pthreads/mux_pthr.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/utils/mutex/pthreads/mux_pthr.h b/src/utils/mutex/pthreads/mux_pthr.h
new file mode 100644
index 000000000..efdabfed4
--- /dev/null
+++ b/src/utils/mutex/pthreads/mux_pthr.h
@@ -0,0 +1,24 @@
+/*************************************************
+* Pthread Mutex Header File *
+* (C) 1999-2007 Jack Lloyd *
+*************************************************/
+
+#ifndef BOTAN_MUTEX_PTHREAD_H__
+#define BOTAN_MUTEX_PTHREAD_H__
+
+#include <botan/mutex.h>
+
+namespace Botan {
+
+/*************************************************
+* Pthread Mutex Factory *
+*************************************************/
+class Pthread_Mutex_Factory : public Mutex_Factory
+ {
+ public:
+ Mutex* make();
+ };
+
+}
+
+#endif