DragonFly BSD
DragonFly commits List (threaded) for 2005-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/test/debug umtx.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 13 Jan 2005 20:15:12 -0800 (PST)

dillon      2005/01/13 20:15:12 PST

DragonFly src repository

  Added files:
    test/debug           umtx.c 
  Log:
  Add umtx.c, a simple utility which implements userland mutexes using
  the new umtx_*() system calls.  Compile normally and play around, e.g.:
  
  umtx -v -t 10 /tmp/lock.dat sleep 5
  umtx -v -t 10 /tmp/lock.dat ls
  
  The test code includes some simple ^C cleanup code as well, though I
  don't block signals during the global variable fixup so there is a race in
  the ^C cleanup code.




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]