Skip to content
  • Nick Mathewson's avatar
    r15251@tombo: nickm | 2008-04-22 11:59:46 -0400 · 299014b2
    Nick Mathewson authored
     On platforms using pthreads, allow a thread to acquire a lock it already holds.  This is crucial for logging: otherwise any log message thrown from inside the logging process (especially from control.c) will deadlock.  Win32 CriticalSections are already recursive.  Bug spotted by nwf.  Bugfix on 0.2.0.16-alpha.  Backport candidate. I hope this is portable.
    
    
    svn:r14406
    299014b2