Reindent server/core/thread.c

This commit is contained in:
Johan Wikman
2015-11-30 20:17:43 +02:00
parent a95be21266
commit 8bbc3e8086
2 changed files with 25 additions and 25 deletions

View File

@ -20,7 +20,7 @@
#include <pthread.h>
/**
* @file thread.h The gateway threading interface
* @file thread.h The gateway threading interface
*
* An encapsulation of the threading used by the gateway. This is designed to
* isolate the majority of the gateway code from th epthread library, enabling
@ -28,11 +28,11 @@
* of changes.
*/
#define THREAD pthread_t
#define THREAD_SHELF pthread_self
#define THREAD pthread_t
#define THREAD_SHELF pthread_self
extern void *thread_start(void (*entry)(void *), void *arg);
extern void thread_wait(void *thd);
extern void thread_millisleep(int ms);
extern void *thread_start(void (*entry)(void *), void *arg);
extern void thread_wait(void *thd);
extern void thread_millisleep(int ms);
#endif