Changeset 87

Show
Ignore:
Timestamp:
02/05/09 14:55:21 (3 years ago)
Author:
sean
Message:

Minor cleanup.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/import/core/sys/posix/sched.d

    r82 r87  
    5656    const SCHED_FIFO    = 4; 
    5757    const SCHED_RR      = 2; 
    58     // SCHED_SPORADIC seems to be unavailable 
     58    //SCHED_SPORADIC (SS|TSP) 
    5959 
    6060    private const __SCHED_PARAM_SIZE__ = 4; 
     
    6262    struct sched_param 
    6363    { 
    64         int                         sched_priority; 
    65         byte[__SCHED_PARAM_SIZE__]  opaque; 
     64        int                             sched_priority; 
     65        byte[__PTHREAD_MUTEX_SIZE__]    __opaque; 
    6666    } 
    6767} 
  • trunk/import/core/sys/posix/sys/types.d

    r82 r87  
    333333    struct pthread_rwlockattr_t 
    334334    { 
    335         c_long                             __sig; 
     335        c_long                              __sig; 
    336336        byte[__PTHREAD_RWLOCKATTR_SIZE__]   __opaque; 
    337337    } 
     
    404404else version( OSX ) 
    405405{ 
    406     struct pthread_spinlock_t; 
     406    //struct pthread_spinlock_t; 
    407407} 
    408408else version( freebsd ) 
  • trunk/import/core/sys/posix/time.d

    r82 r87  
    174174    const TIMER_ABSTIME     = 0x01; 
    175175 
    176     alias int clockid_t; 
     176    //alias int clockid_t; 
    177177    alias int timer_t; 
    178178 
     
    236236version( linux ) 
    237237{ 
    238     extern int      daylight; 
    239     extern c_long   timezone; 
     238    extern int    daylight; 
     239    extern c_long timezone; 
    240240 
    241241    tm*   getdate(in char*);