Changeset 1305


Ignore:
Timestamp:
May 25, 2007 11:43:22 AM (12 years ago)
Author:
bennylp
Message:

Fixed ticket #301: Assertion error or handle leak when creating thread with PJ_THREAD_SUSPENDED flag

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/pjproject-0.5-stable/pjlib/src/pj/os_core_unix.c

    r1075 r1305  
    355355 
    356356    /* Check if suspension is required. */ 
    357     if (rec->suspended_mutex) 
     357    if (rec->suspended_mutex) { 
    358358        pj_mutex_lock(rec->suspended_mutex); 
     359        pj_mutex_unlock(rec->suspended_mutex); 
     360    } 
    359361 
    360362    PJ_LOG(6,(rec->obj_name, "Thread started")); 
Note: See TracChangeset for help on using the changeset viewer.