summaryrefslogtreecommitdiffstats
path: root/client/.svn/text-base/thread.h.svn-base
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2008-04-14 21:52:55 -0400
committerBrian Cully <github.20.shmit@spamgourmet.com>2008-04-14 21:52:55 -0400
commit6ba98a9f9f48e13738d9736cba9c45b5e94f42f2 (patch)
tree86d7c281bcdbf67eb53cee064aa905e740ec5ccf /client/.svn/text-base/thread.h.svn-base
downloadnastd-6ba98a9f9f48e13738d9736cba9c45b5e94f42f2.tar.gz
nastd-6ba98a9f9f48e13738d9736cba9c45b5e94f42f2.zip
Initial import
Diffstat (limited to 'client/.svn/text-base/thread.h.svn-base')
-rw-r--r--client/.svn/text-base/thread.h.svn-base19
1 files changed, 19 insertions, 0 deletions
diff --git a/client/.svn/text-base/thread.h.svn-base b/client/.svn/text-base/thread.h.svn-base
new file mode 100644
index 0000000..171fde1
--- /dev/null
+++ b/client/.svn/text-base/thread.h.svn-base
@@ -0,0 +1,19 @@
+/* $Id: thread.h,v 1.5 2000/09/13 20:21:30 shmit Exp $ */
+
+#ifndef THREAD_H
+# define THREAD_H
+
+#ifdef THREADSAFECLIENT
+#include <pthread.h>
+
+typedef pthread_mutex_t _nast_mutex_t;
+#else
+typedef int _nast_mutex_t;
+#endif
+
+short thread_id();
+int _nast_mutex_new(_nast_mutex_t *lock);
+void _nast_mutex_delete(_nast_mutex_t *lock);
+int _nast_mutex_lock(_nast_mutex_t *lock);
+int _nast_mutex_unlock(_nast_mutex_t *lock);
+#endif