aboutsummaryrefslogtreecommitdiffstats
path: root/thread.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-06-01 06:45:30 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-06-01 06:45:30 +0000
commit8dc94dba6511b8db40c0e209b0ea595052650a21 (patch)
tree1ae7db249d5ad89d18cf9422abfeb034139f5c35 /thread.c
parenta581675c3951031bdc1b71fa654d0dadcc191397 (diff)
downloadlcd4linux-8dc94dba6511b8db40c0e209b0ea595052650a21.tar.gz
[lcd4linux @ 2004-06-01 06:45:28 by reinelt]
some Fixme's processed documented some code git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@456 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'thread.c')
-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
*
*/