diff options
author | Benny Prijono <bennylp@teluu.com> | 2010-01-13 13:09:45 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2010-01-13 13:09:45 +0000 |
commit | 8cc7aef25ecc698b6fdfa620877f72e6b8dd536f (patch) | |
tree | 40e3c7c8df20a5b26d95543285145348a18009db /pjlib/src/pjlib-test/ioq_unreg.c | |
parent | d4663d0cbfd495529f7ce486d9f9d36f7969bc50 (diff) |
Initial OpenBSD fixes (#994):
pjlib:
- Autoconf fixes in detecting header availability
- Undefined sched_get_priority_max() and sched_get_priority_min()
- protect with #ifdef _POSIX_PRIORITY_SCHEDULING, and
- return hardcoded (0, 31) if __OpenBSD__ macro is declared
- Better GUID generation
pjlib-test:
- Reduce the loop in PJILB activesock test
- Fixed bug in ioqueue unregistration test which caused assertion error in destroying mutex
pjlib-util-test:
- Fixed bug in pjlib-util resolver test
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3057 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/src/pjlib-test/ioq_unreg.c')
-rw-r--r-- | pjlib/src/pjlib-test/ioq_unreg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pjlib/src/pjlib-test/ioq_unreg.c b/pjlib/src/pjlib-test/ioq_unreg.c index 6b19ed1f..f30510d4 100644 --- a/pjlib/src/pjlib-test/ioq_unreg.c +++ b/pjlib/src/pjlib-test/ioq_unreg.c @@ -93,6 +93,7 @@ static void on_read_complete(pj_ioqueue_key_t *key, if (PJ_TIME_VAL_GTE(now, time_to_unregister)) { sock_data.unregistered = 1; pj_ioqueue_unregister(key); + pj_mutex_unlock(sock_data.mutex); return; } } |