~ubuntu-branches/ubuntu/raring/pthreads-win32/raring-proposed

« back to all changes in this revision

Viewing changes to sched.h

  • Committer: Package Import Robot
  • Author(s): Stephen Kitt
  • Date: 2012-08-20 08:22:05 UTC
  • Revision ID: package-import@ubuntu.com-20120820082205-0qenriq46lhrlopg
Tags: 2.9.1+dfsg-1
Initial release (Closes: #685545).

Show diffs side-by-side

added added

removed removed

Lines of Context:
126
126
   typedef int pid_t;
127
127
# endif
128
128
#else
129
 
 typedef int pid_t;
 
129
 /* [i_a] fix for using pthread_win32 with mongoose code, which #define's its own pid_t akin to     typedef HANDLE pid_t; */
 
130
 #undef pid_t
 
131
# if defined(_MSC_VER)
 
132
  typedef void *pid_t;
 
133
# else
 
134
  typedef int pid_t;
 
135
# endif
130
136
#endif
131
137
 
132
138
/* Thread scheduling policies */