cvs commit: src/lib/libthr/thread thr_mutex.c

Mike Makonnen mtm at FreeBSD.org
Fri Mar 26 06:47:56 PST 2004


mtm         2004/03/26 06:47:54 PST

  FreeBSD src repository

  Modified files:
    lib/libthr/thread    thr_mutex.c 
  Log:
  o The mutex locking functions aren't normally cancellation points. But,
    we still have to DTRT when an asynchronously cancellable thread is
    cancelled while waiting for a mutex.
  o While dequeueing a waiting mutex don't skip a thread if it has
    a cancel pending. Only skip it if it is also async cancellable.
  
  Revision  Changes    Path
  1.23      +12 -3     src/lib/libthr/thread/thr_mutex.c


More information about the cvs-src mailing list