diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2004-04-08 10:48:25 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2004-04-08 10:48:25 +0000 |
commit | 9164b31d32e1bf9724a5d6a3b0a3420497a3c8f5 (patch) | |
tree | 9a63ca7ca5300028f833debc12494b2bd70aacbb /thread.h | |
parent | 74bdf66969f00d1398c971a7756426e055c24f1a (diff) | |
download | lcd4linux-9164b31d32e1bf9724a5d6a3b0a3420497a3c8f5.tar.gz |
[lcd4linux @ 2004-04-08 10:48:23 by reinelt]
finished plugin_exec
modified thread handling
added '%x' format to qprintf (hexadecimal)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@410 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to '')
-rw-r--r-- | thread.h | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: thread.h,v 1.2 2004/03/20 07:31:33 reinelt Exp $ +/* $Id: thread.h,v 1.3 2004/04/08 10:48:25 reinelt Exp $ * * thread handling (mutex, shmem, ...) * @@ -26,6 +26,11 @@ * * * $Log: thread.h,v $ + * Revision 1.3 2004/04/08 10:48:25 reinelt + * finished plugin_exec + * modified thread handling + * added '%x' format to qprintf (hexadecimal) + * * Revision 1.2 2004/03/20 07:31:33 reinelt * support for HD66712 (which has a different RAM layout) * further threading development @@ -44,8 +49,8 @@ void mutex_unlock (int semid); void mutex_destroy (int semid); int shm_create (void **buffer, int size); -void shm_destroy (int shmid); +void shm_destroy (int shmid, void *buffer) ; -int thread_create (char *name, void (*thread)(char *name)); +int thread_create (char *name, void (*thread)(void *data), void *data); #endif |