mirror of
https://github.com/netfun2000/lcd4linux.git
synced 2026-02-27 09:44:34 +08:00
[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
This commit is contained in:
19
thread.h
19
thread.h
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user