[BACK]Return to condvar.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / sys

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/sys/condvar.h between version 1.9 and 1.9.2.1

version 1.9, 2008/04/28 20:24:10 version 1.9.2.1, 2008/06/23 04:32:02
Line 36 
Line 36 
   
 /*  /*
  * The condition variable implementation is private to kern_condvar.c but   * The condition variable implementation is private to kern_condvar.c but
  * the size of a kcondvar_t must remain constant.  cv_waiters is protected   * the size of a kcondvar_t must remain constant.  cv_opaque is protected
  * both by the interlock passed to cv_wait() (increment only), and the sleep   * both by the interlock passed to cv_wait() (enqueue only), and the sleep
  * queue lock acquired with sleeptab_lookup() (increment and decrement).   * queue lock acquired with sleeptab_lookup() (enqueue and dequeue).
  * cv_wmesg is static and does not change throughout the life of the CV.   * cv_wmesg is static and does not change throughout the life of the CV.
  */   */
 typedef struct kcondvar {  typedef struct kcondvar {
           void            *cv_opaque[2];  /* sleep queue */
         const char      *cv_wmesg;      /* description for /bin/ps */          const char      *cv_wmesg;      /* description for /bin/ps */
         int             cv_waiters;     /* number of waiters */  
 } kcondvar_t;  } kcondvar_t;
   
 #ifdef _KERNEL  #ifdef _KERNEL

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.9.2.1

CVSweb <webmaster@jp.NetBSD.org>