src/server/public/nsapi.h

changeset 29
e8619defde14
parent 23
a2c8fc23c90e
child 47
ce9790523346
equal deleted inserted replaced
28:f387669912e8 29:e8619defde14
347 347
348 #ifdef XP_UNIX 348 #ifdef XP_UNIX
349 #include <unistd.h> 349 #include <unistd.h>
350 #include <sys/file.h> 350 #include <sys/file.h>
351 #include <alloca.h> /* new */ 351 #include <alloca.h> /* new */
352 #include <pthread.h>
352 #ifndef HPUX 353 #ifndef HPUX
353 #include <sys/select.h> 354 #include <sys/select.h>
354 #endif 355 #endif
355 #include <sys/socket.h> 356 #include <sys/socket.h>
356 #include <sys/time.h> 357 #include <sys/time.h>
828 char *name; /* internal use: filename to unlink if exposed */ 829 char *name; /* internal use: filename to unlink if exposed */
829 SYS_FILE fd; /* internal use: file descriptor for region */ 830 SYS_FILE fd; /* internal use: file descriptor for region */
830 }; 831 };
831 832
832 /* Define a handle for a thread */ 833 /* Define a handle for a thread */
833 typedef void* SYS_THREAD; 834 //typedef void* SYS_THREAD;
835 typedef pthread_t SYS_THREAD;
834 836
835 /* Define an error value for the thread handle */ 837 /* Define an error value for the thread handle */
836 #define SYS_THREAD_ERROR NULL 838 #define SYS_THREAD_ERROR NULL
837 839
838 840

mercurial