home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / Headers / mach / sparc / cthreads.h < prev    next >
Text File  |  1995-01-23  |  171b  |  14 lines

  1. /*
  2.  * sparc-specific C Threads definitions.
  3.  */
  4.  
  5. /*
  6.  * Spin locks.
  7.  */
  8. #define    spin_unlock(p)        (*(p) = 0)
  9.  
  10. /*
  11.  * Mutex locks.
  12.  */
  13. #define    mutex_unlock(m)        ((m)->lock = 0)
  14.