summaryrefslogtreecommitdiffstats
path: root/thread.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2007-10-01 20:16:28 +0000
committerLennart Poettering <lennart@poettering.net>2007-10-01 20:16:28 +0000
commit7d83e5c7816b5e343695a75ba58b32dbe1be969a (patch)
treebfd1dfc9b7c8f4a2aaf66c1b30e78355dee8c88a /thread.h
parent762196328ab7e60f1d2908fd5a337d2ca99726dd (diff)
move all sources down to a seperate src/ tree
git-svn-id: file:///home/lennart/svn/public/libsydney/trunk@34 9ba3c220-e4d3-45a2-8aa3-73fcc9aff6ce
Diffstat (limited to 'thread.h')
-rw-r--r--thread.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/thread.h b/thread.h
deleted file mode 100644
index ddd2604..0000000
--- a/thread.h
+++ /dev/null
@@ -1,28 +0,0 @@
-#ifndef foosydneythreadhfoo
-#define foosydneythreadhfoo
-
-typedef struct sa_thread sa_thread_t;
-
-typedef void (*sa_thread_func_t) (void *userdata);
-
-sa_thread_t* sa_thread_new(sa_thread_func_t sa_thread_func, void *userdata);
-void sa_thread_free(sa_thread_t *t);
-int sa_thread_join(sa_thread_t *t);
-int sa_thread_is_running(sa_thread_t *t);
-sa_thread_t *sa_thread_self(void);
-void sa_thread_yield(void);
-int sa_thread_is_self(sa_thread_t *t);
-
-void* sa_thread_get_data(sa_thread_t *t);
-void sa_thread_set_data(sa_thread_t *t, void *userdata);
-
-typedef struct sa_tls sa_tls_t;
-
-typedef void (*sa_free_func_t) (void *data);
-
-sa_tls_t* sa_tls_new(sa_free_func_t f);
-void sa_tls_free(sa_tls_t *t);
-void * sa_tls_get(sa_tls_t *t);
-void *sa_tls_set(sa_tls_t *t, void *userdata);
-
-#endif