aboutsummaryrefslogtreecommitdiffstats
path: root/thread.c
diff options
context:
space:
mode:
authorreinelt <>2004-06-01 06:45:30 +0000
committerreinelt <>2004-06-01 06:45:30 +0000
commit2a20041898d6b51ccf403634f948cade5360bca7 (patch)
tree1ae7db249d5ad89d18cf9422abfeb034139f5c35 /thread.c
parent8ef3a4011f3b4e571a113ac6b0bab6616ea2e7b4 (diff)
downloadlcd4linux-2a20041898d6b51ccf403634f948cade5360bca7.tar.gz
[lcd4linux @ 2004-06-01 06:45:28 by reinelt]
some Fixme's processed documented some code
Diffstat (limited to '')
-rw-r--r--thread.c29
1 files changed, 27 insertions, 2 deletions
diff --git a/thread.c b/thread.c
index f59396c..99c51fe 100644
--- a/thread.c
+++ b/thread.c
@@ -1,4 +1,4 @@
-/* $Id: thread.c,v 1.3 2004/04/08 10:48:25 reinelt Exp $
+/* $Id: thread.c,v 1.4 2004/06/01 06:45:30 reinelt Exp $
*
* thread handling (mutex, shmem, ...)
*
@@ -26,6 +26,11 @@
*
*
* $Log: thread.c,v $
+ * Revision 1.4 2004/06/01 06:45:30 reinelt
+ *
+ * some Fixme's processed
+ * documented some code
+ *
* Revision 1.3 2004/04/08 10:48:25 reinelt
* finished plugin_exec
* modified thread handling
@@ -43,7 +48,27 @@
/*
* exported functions:
*
- * Fixme: document me!
+ * int mutex_create (void);
+ * creates a mutex and treturns its ID
+ *
+ * void mutex_lock (int semid);
+ * try to lock a mutex
+ *
+ * void mutex_unlock (int semid);
+ * unlock a mutex
+ *
+ * void mutex_destroy (int semid);
+ * release a mutex
+ *
+ *
+ * int shm_create (void **buffer, int size);
+ * create shared memory segment
+ *
+ * void shm_destroy (int shmid, void *buffer) ;
+ * release shared memory segment
+ *
+ * int thread_create (char *name, void (*thread)(void *data), void *data);
+ * create a new thread
*
*/