Changeset 87
- Timestamp:
- 02/05/09 14:55:21 (3 years ago)
- Files:
-
- trunk/import/core/sys/posix/sched.d (modified) (2 diffs)
- trunk/import/core/sys/posix/sys/types.d (modified) (2 diffs)
- trunk/import/core/sys/posix/time.d (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/import/core/sys/posix/sched.d
r82 r87 56 56 const SCHED_FIFO = 4; 57 57 const SCHED_RR = 2; 58 // SCHED_SPORADIC seems to be unavailable58 //SCHED_SPORADIC (SS|TSP) 59 59 60 60 private const __SCHED_PARAM_SIZE__ = 4; … … 62 62 struct sched_param 63 63 { 64 int sched_priority;65 byte[__ SCHED_PARAM_SIZE__]opaque;64 int sched_priority; 65 byte[__PTHREAD_MUTEX_SIZE__] __opaque; 66 66 } 67 67 } trunk/import/core/sys/posix/sys/types.d
r82 r87 333 333 struct pthread_rwlockattr_t 334 334 { 335 c_long __sig;335 c_long __sig; 336 336 byte[__PTHREAD_RWLOCKATTR_SIZE__] __opaque; 337 337 } … … 404 404 else version( OSX ) 405 405 { 406 struct pthread_spinlock_t;406 //struct pthread_spinlock_t; 407 407 } 408 408 else version( freebsd ) trunk/import/core/sys/posix/time.d
r82 r87 174 174 const TIMER_ABSTIME = 0x01; 175 175 176 alias int clockid_t;176 //alias int clockid_t; 177 177 alias int timer_t; 178 178 … … 236 236 version( linux ) 237 237 { 238 extern int daylight;239 extern c_long timezone;238 extern int daylight; 239 extern c_long timezone; 240 240 241 241 tm* getdate(in char*);
