diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2005-05-08 04:32:45 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2005-05-08 04:32:45 +0000 |
commit | dbf5d92605a9db10e3e3cb154d03a515c5d5c5af (patch) | |
tree | 501d5dda3ce90fe924b893e487d9ef9f0683382b /thread.h | |
parent | a1c471e9fb7cadb68bb182ab2e9715a0aa092386 (diff) | |
download | lcd4linux-dbf5d92605a9db10e3e3cb154d03a515c5d5c5af.tar.gz |
[lcd4linux @ 2005-05-08 04:32:43 by reinelt]
CodingStyle added and applied
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@547 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to '')
-rw-r--r-- | thread.h | 19 |
1 files changed, 11 insertions, 8 deletions
@@ -1,4 +1,4 @@ -/* $Id: thread.h,v 1.5 2005/01/18 06:30:24 reinelt Exp $ +/* $Id: thread.h,v 1.6 2005/05/08 04:32:45 reinelt Exp $ * * thread handling (mutex, shmem, ...) * @@ -26,6 +26,9 @@ * * * $Log: thread.h,v $ + * Revision 1.6 2005/05/08 04:32:45 reinelt + * CodingStyle added and applied + * * Revision 1.5 2005/01/18 06:30:24 reinelt * added (C) to all copyright statements * @@ -50,14 +53,14 @@ #ifndef _THREAD_H_ #define _THREAD_H_ -int mutex_create (void); -void mutex_lock (const int semid); -void mutex_unlock (const int semid); -void mutex_destroy (const int semid); +int mutex_create(void); +void mutex_lock(const int semid); +void mutex_unlock(const int semid); +void mutex_destroy(const int semid); -int shm_create (void **buffer, const int size); -void shm_destroy (const int shmid, const void *buffer); +int shm_create(void **buffer, const int size); +void shm_destroy(const int shmid, const void *buffer); -int thread_create (const char *name, void (*thread)(void *data), void *data); +int thread_create(const char *name, void (*thread) (void *data), void *data); #endif |