ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libeio/xthread.h
(Generate patch)

Comparing libeio/xthread.h (file contents):
Revision 1.11 by sf-exg, Thu Jul 7 17:35:52 2011 UTC vs.
Revision 1.13 by root, Tue Jul 19 04:57:10 2011 UTC

14#endif 14#endif
15 15
16///////////////////////////////////////////////////////////////////////////// 16/////////////////////////////////////////////////////////////////////////////
17 17
18#ifdef _WIN32 18#ifdef _WIN32
19typedef int ssize_t;
20 19
21#define NTDDI_VERSION NTDDI_WIN2K // needed to get win2000 api calls 20#define NTDDI_VERSION NTDDI_WIN2K // needed to get win2000 api calls
22#define _WIN32_WINNT 0x400 21#define _WIN32_WINNT 0x400
23#include <stdio.h>//D 22#include <stdio.h>//D
24#include <fcntl.h> 23#include <fcntl.h>
128#ifndef PTHREAD_STACK_MIN 127#ifndef PTHREAD_STACK_MIN
129# define PTHREAD_STACK_MIN 0 128# define PTHREAD_STACK_MIN 0
130#endif 129#endif
131 130
132#ifndef X_STACKSIZE 131#ifndef X_STACKSIZE
133# define X_STACKSIZE sizeof (long) * 4096 132# define X_STACKSIZE sizeof (void *) * 4096
134#endif 133#endif
135 134
136static int 135static int
137thread_create (xthread_t *tid, void *(*proc)(void *), void *arg) 136thread_create (xthread_t *tid, void *(*proc)(void *), void *arg)
138{ 137{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines