Print this page
*** NO COMMENTS ***

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libzpool/common/sys/zfs_context.h
          +++ new/usr/src/lib/libzpool/common/sys/zfs_context.h
↓ open down ↓ 292 lines elided ↑ open up ↑
 293  293  /*
 294  294   * Condition variables
 295  295   */
 296  296  typedef cond_t kcondvar_t;
 297  297  
 298  298  #define CV_DEFAULT      USYNC_THREAD
 299  299  
 300  300  extern void cv_init(kcondvar_t *cv, char *name, int type, void *arg);
 301  301  extern void cv_destroy(kcondvar_t *cv);
 302  302  extern void cv_wait(kcondvar_t *cv, kmutex_t *mp);
      303 +extern int  cv_wait_sig(kcondvar_t *cv, kmutex_t *mp);
 303  304  extern clock_t cv_timedwait(kcondvar_t *cv, kmutex_t *mp, clock_t abstime);
 304  305  extern void cv_signal(kcondvar_t *cv);
 305  306  extern void cv_broadcast(kcondvar_t *cv);
 306  307  
 307  308  /*
 308  309   * kstat creation, installation and deletion
 309  310   */
 310  311  extern kstat_t *kstat_create(char *, int,
 311  312      char *, char *, uchar_t, ulong_t, uchar_t);
 312  313  extern void kstat_install(kstat_t *);
↓ open down ↓ 319 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX