--- a/src/server/util/systhr.c Thu Jan 26 17:23:11 2017 +0100 +++ b/src/server/util/systhr.c Thu Jan 26 18:53:52 2017 +0100 @@ -62,6 +62,7 @@ } +#ifdef XP_UNIX SYS_THREAD systhread_start(int prio, int stksz, thrstartfunc fn, void *arg) { pthread_t thr = 0; @@ -154,4 +155,64 @@ } NSAPI_PUBLIC void systhread_dummy(void) { + } + +#endif + +#ifdef XP_WIN32 + +SYS_THREAD systhread_start(int prio, int stksz, thrstartfunc fn, void *arg) { + +} + +SYS_THREAD systhread_current(void) { + +} + +void systhread_yield(void) { + +} + +void systhread_timerset(int usec) { + +} + +SYS_THREAD systhread_attach(void) { + +} + +void systhread_detach(SYS_THREAD thr) { + +} + +void systhread_terminate(SYS_THREAD thr) { + +} + +void systhread_sleep(int msec) { + +} + +NSAPI_PUBLIC int systhread_newkey() { + +} + +NSAPI_PUBLIC void* systhread_getdata(int key) { + +} + +NSAPI_PUBLIC void systhread_setdata(int key, void *data) { + +} + +NSAPI_PUBLIC void systhread_init(char *name) +{ + +} + +NSAPI_PUBLIC void systhread_dummy(void) { + +} + +#endif