root/kernel/sleeplock.h

/* [<][>][^][v][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 

/* [<][>][^][v][top][bottom][index][help] */