Update of bug #39126 (project gnustep):

                  Status:                    None => Fixed                  
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

Thanks ... this was intermittently failing for me because of a race
condition.
When the second thread locked the mutex before the first thread, and held it
locked, the first thread could not lock the mutex and could not even enter the
timed wait for the condition.

The fix for this was to add a timeout on the initial lock ... so that the
-lockWhenCondition:beforeDate: method can return NO in the case where another
thread is holding the mutex.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?39126>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to