summaryrefslogtreecommitdiff
path: root/pjlib/src/pj/os_core_unix.c
AgeCommit message (Collapse)Author
2007-05-25Fixed ticket #300: Assertion error or handle leak when creating thread with ↵Benny Prijono
SUSPENDED state git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1304 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-11HUGE changeset to make the rest of the libraries compile with C++ modeBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1266 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-17Make it build cleanly on RedHat 7.3, gcc 2.96, linux-2.4.18 (also somebody ↵Benny Prijono
reported build error on Slack 7.1 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1076 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-15Fixed ticket #181: Failed compilation because usleep() does not return int ↵Benny Prijono
on some *nix platforms (thanks Jukka-Pekka Kervinen) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1068 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-05Optimization on the log and add tracing on mutex trylockBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1042 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-19Ticket #110: HUGE HUGE changeset to replace all occurence of year 2006 with ↵Benny Prijono
2007 in copyright notice in all sources git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@974 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-22Give more useful information when assertion fails in pj_thread_this()Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@896 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-01Changed critical section in os_core_unix.c to use recursive mutexBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@840 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-01Fixed ticket #29: calling pjsua_init() to reinitialize the whole libraries ↵Benny Prijono
after pjsua_destroy() is called git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@839 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21Added pj_shutdown() on os_core_unix.cBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@816 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21Fixed handles leak upon program exit, by introducing pj_shutdown() and ↵Benny Prijono
pj_atexit(). Also fixed handle leaks in SIP transaction layer and SIP endpoint. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@815 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-04Fixed compilation errors when threading is disabled (PJ_HAS_THREADS=0) and ↵Benny Prijono
safe ioqueue unregistration is disabled (PJ_IOQUEUE_HAS_SAFE_UNREG=0). Also increase PJ_IOQUEUE_MAX_HANDLES for minimum config to 16 in config_sample.h [thanks Olivier Gournet]. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@750 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-03Fixed minor error in pj_thread_is_registered() API. The return value should ↵Benny Prijono
be pj_bool_t instead of pj_status_t. (Note: this change should not break anything). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@746 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-12Fixed mutex leaking in Linux: pj_mutex_destroy() will fail to destroy the ↵Benny Prijono
mutex if the mutex is currently being held. Unfortunately it is quite common in the libraries to acquire the mutex first before destroying it, causing mutexes to leak. The solution is to retry unlocking/destroying the mutex several times (currently 4) while pthread_mutex_destroy() returns EBUSY git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@708 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-12Improved logging consistency and added more logging info in verbosity 6Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@675 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-11Added pj_thread_is_registeredBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@674 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-11Increased width for sender column in log message, and added additional check ↵Benny Prijono
in pj_thread_register() git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@672 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-29Another take at fixing 64bit problems. PJ_MAX_OBJ_NAME is increased to 32 ↵Benny Prijono
chars (from 16), and check all those sprintf's especially the ones with "%p" format. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@635 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-03Change all pj_memset to pj_bzero(), where applicableBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@582 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-10Merge-in RTEMS port patch by Phil Torre <ptorre@zetron.com>, alpha release.Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@433 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-20Ported pjlib to PowerPC/MacOSBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@338 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-06Fixed bug in writing log when pj_init() is calledBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@304 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-06Added version info on pj_init()Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@298 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-26Fixed bug pj_thread_register() when same thread is re-registered with ↵Benny Prijono
different descriptor git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@233 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-07Implement rwlock for LinuxBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@150 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-21Set svn:eol-style for all filesBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@66 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-18Pretty commentsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@51 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-13Applying license to pjprojectBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@49 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-09Rework pjlib++Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/main@36 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-08Linux alpha testBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/main@35 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-06Tested new ioqueue framework on Linux with select and epollBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/main@14 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-01Changed atomic interface and fixed bugs in echo test clientBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/main@5 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-01Just changing keyword expansionBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/main@3 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-01Added suppor /and fix things for SunOS portBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/main@2 74dad513-b988-da41-8d7b-12977e46ad98
2005-10-31initial importBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/main@1 74dad513-b988-da41-8d7b-12977e46ad98