summaryrefslogtreecommitdiffstats
path: root/client/.svn/text-base/thread.c.svn-base
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2008-04-14 21:54:00 -0400
committerBrian Cully <github.20.shmit@spamgourmet.com>2008-04-14 21:54:00 -0400
commit79d65188b1c1578a36403c0e5756c81dcc93d816 (patch)
tree2903ed400cd0ebd13350397d402c1d9d5b9f869d /client/.svn/text-base/thread.c.svn-base
parent6ba98a9f9f48e13738d9736cba9c45b5e94f42f2 (diff)
downloadnastd-79d65188b1c1578a36403c0e5756c81dcc93d816.tar.gz
nastd-79d65188b1c1578a36403c0e5756c81dcc93d816.zip
Remove svn files
Diffstat (limited to 'client/.svn/text-base/thread.c.svn-base')
-rw-r--r--client/.svn/text-base/thread.c.svn-base75
1 files changed, 0 insertions, 75 deletions
diff --git a/client/.svn/text-base/thread.c.svn-base b/client/.svn/text-base/thread.c.svn-base
deleted file mode 100644
index bdd613a..0000000
--- a/client/.svn/text-base/thread.c.svn-base
+++ /dev/null
@@ -1,75 +0,0 @@
-#include "conf.h"
-#include "thread.h"
-
-#include <unistd.h>
-
-#ifdef THREADSAFECLIENT
-#include <pthread.h>
-#endif
-
-RCSID("$Id: thread.c,v 1.6 2000/09/13 20:21:30 shmit Exp $");
-
-#ifdef THREADSAFECLIENT
-short
-thread_id()
-{
- short i;
-
- i = (pthread_self() & 0xff) | (getpid() << 8);
- return i;
-}
-
-int
-_nast_mutex_new(_nast_mutex_t *lock)
-{
- return pthread_mutex_init(lock, NULL);
-}
-
-void
-_nast_mutex_delete(_nast_mutex_t *lock)
-{
- (void)pthread_mutex_destroy(lock);
-}
-
-int
-_nast_mutex_lock(_nast_mutex_t *lock)
-{
- return pthread_mutex_lock(lock);
-}
-
-int
-_nast_mutex_unlock(_nast_mutex_t *lock)
-{
- return pthread_mutex_unlock(lock);
-}
-#else /* THREADSAFECLIENT */
-short
-thread_id()
-{
- return getpid();
-}
-
-int
-_nast_mutex_new(_nast_mutex_t *lock)
-{
- return 0;
-}
-
-void
-_nast_mutex_delete(_nast_mutex_t *lock)
-{
- return;
-}
-
-int
-_nast_mutex_lock(_nast_mutex_t *lock)
-{
- return 0;
-}
-
-int
-_nast_mutex_unlock(_nast_mutex_t *lock)
-{
- return 0;
-}
-#endif /* THREADSAFECLIENT */