root/sleeplock.h

/* [previous][next][first][last][top][bottom][index][help]  */

INCLUDED FROM


   1 // Long-term locks for processes
   2 struct sleeplock {
   3   uint locked;       // Is the lock held?
   4   struct spinlock lk; // spinlock protecting this sleep lock
   5   
   6   // For debugging:
   7   char *name;        // Name of lock.
   8   int pid;           // Process holding lock
   9 };
  10 

/* [previous][next][first][last][top][bottom][index][help]  */