diff options
Diffstat (limited to 'pjlib')
-rw-r--r-- | pjlib/src/pjlib-test/thread.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pjlib/src/pjlib-test/thread.c b/pjlib/src/pjlib-test/thread.c index dc0caed2..e901df7d 100644 --- a/pjlib/src/pjlib-test/thread.c +++ b/pjlib/src/pjlib-test/thread.c @@ -78,6 +78,8 @@ static void* thread_proc(pj_uint32_t *pcounter) id = *pcounter; TRACE__((THIS_FILE, " thread %d running..", id)); + pj_bzero(desc, sizeof(desc)); + rc = pj_thread_register("thread", desc, &this_thread); if (rc != PJ_SUCCESS) { app_perror("...error in pj_thread_register", rc); |