Changeset 817


Ignore:
Timestamp:
Nov 21, 2006 1:40:23 PM (18 years ago)
Author:
bennylp
Message:

Fixed thread_test in pjlib-test: the stack buffer for pj_thread_desc may contain the previous registration values, causing the next pj_thread_register() to fail (tested on Linux FC4)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pjlib-test/thread.c

    r509 r817  
    7979    TRACE__((THIS_FILE, "     thread %d running..", id)); 
    8080 
     81    pj_bzero(desc, sizeof(desc)); 
     82 
    8183    rc = pj_thread_register("thread", desc, &this_thread); 
    8284    if (rc != PJ_SUCCESS) { 
Note: See TracChangeset for help on using the changeset viewer.