paulc
fb6762b981
When compiled for debugging warn if a thread calls idle() holding mutex locks.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@2831 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-10 18:59:05 +00:00
paulc
ebd41dfaec
Use the platform idle time in various sleeps in SIP and Jabber.
...
Fixed a compiler warning about the copy constructor of Mutex and
Semaphore.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2763 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-22 15:41:28 +00:00
paulc
259f204d39
Set the thread name when running under windbg or Visual Studio debugger.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@2755 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-09 15:34:54 +00:00
paulc
f4b1496a46
Added an unified Thread::idle method, use it instead of arbitrary
...
sleeps.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2737 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-24 16:47:29 +00:00
paulc
c0eec08096
Make use of prctl() if available.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@2729 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 11:09:38 +00:00
paulc
fc2b3d5e2e
Thread support for systems without inherited scheduling and/or thread
...
cancelling.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2719 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-18 11:41:44 +00:00
paulc
85da36395b
Added names to the Mutex class to ease debugging of deadlocks.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@2611 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-05 12:25:31 +00:00
paulc
b31b9a2ee6
Ask for explicit (non-inherited) pthread scheduling parameters.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@2473 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-04 21:07:28 +00:00
marian
31350b4fbe
Added File manipulation methods. Added Time conversion methods. Thread last error string can now be obtained from the system.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@2416 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-09 14:30:05 +00:00
paulc
2fdb637ec6
Abandon unkillable pthreads instead of forcingly destroying them.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@2252 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-06 13:42:27 +00:00
paulc
c2570903f4
Moved locked mutex verification to catch all synchronous thread exits.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@2229 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-20 06:57:23 +00:00
paulc
a04d82e731
Detect as early as possible if a thread is going to exit holding mutexes.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@2228 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-19 21:15:39 +00:00
marian
c7620ef2e6
Fixed thread sleep time to avoid sleeping 0ms when requested a positive value less then 1000us (Windows only).
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@2182 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-04 13:30:17 +00:00
paulc
d1b55ca3e7
Abort immediately on highly critical errors even if not requested from command line.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@2043 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-01 14:57:43 +00:00
paulc
e57e9ec1ee
Print thread name when hard cancelling - helps in detecting potential problems.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@1661 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-23 16:52:11 +00:00
paulc
52bfb29082
Lock the list of private objects while querying running() status.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@1356 acf43c95-373e-0410-b603-e72c3f656dc1
2007-06-08 18:31:54 +00:00
paulc
6fc18d1cc2
Commited hard cancel fix submitted by Etoile Di�se.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@1023 acf43c95-373e-0410-b603-e72c3f656dc1
2006-09-10 14:21:32 +00:00
paulc
fdeffa0e2b
Fixed init order on Win2000 Advanced Server.
...
Added missing project file for analyzer channel.
git-svn-id: http://yate.null.ro/svn/yate/trunk@864 acf43c95-373e-0410-b603-e72c3f656dc1
2006-06-13 20:38:44 +00:00
paulc
bc7555cdb5
Made some local variables static.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@851 acf43c95-373e-0410-b603-e72c3f656dc1
2006-06-10 12:05:16 +00:00
paulc
cda2d9f1c2
Updated copyright and FSF address.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@815 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-27 15:08:43 +00:00
paulc
5f972a465c
Worked around a bug in older libpthread - waking up a canceled thread that
...
was trying to lock a mutex.
git-svn-id: http://yate.null.ro/svn/yate/trunk@682 acf43c95-373e-0410-b603-e72c3f656dc1
2006-02-09 18:49:44 +00:00
paulc
8faacfe499
Fixed a nasty bug in Linux TLS initialization.
...
Improved thread/mutex debugging.
git-svn-id: http://yate.null.ro/svn/yate/trunk@652 acf43c95-373e-0410-b603-e72c3f656dc1
2006-01-18 18:28:28 +00:00
paulc
73e01366aa
Reference counters are strictly enforced.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@651 acf43c95-373e-0410-b603-e72c3f656dc1
2006-01-18 16:06:05 +00:00
paulc
43f51eca13
Interlocking related fixes.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@640 acf43c95-373e-0410-b603-e72c3f656dc1
2006-01-12 19:06:25 +00:00
paulc
739bed212b
Refactored locking and list iteration to solve deadlocks and race conditions.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@639 acf43c95-373e-0410-b603-e72c3f656dc1
2006-01-12 05:32:06 +00:00
paulc
7162de80d4
Fixes for Windows compilation suggested by Faizan Naqvi (Tili).
...
Added names for thread priorities.
Fixed the way some channels handle timestamps (broken by the delta->full API change).
git-svn-id: http://yate.null.ro/svn/yate/trunk@536 acf43c95-373e-0410-b603-e72c3f656dc1
2005-10-07 22:03:19 +00:00
paulc
419dd9719c
Added forward declarations instead of relying on friend - should make GCC 4 happy.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@454 acf43c95-373e-0410-b603-e72c3f656dc1
2005-07-17 11:51:51 +00:00
paulc
be9c3cabb4
Fixed DirectSound and OpenH323 modules for Windows.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@440 acf43c95-373e-0410-b603-e72c3f656dc1
2005-07-09 18:27:49 +00:00
paulc
88287791d7
Fixed minor bug when compiling in debug mode.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@407 acf43c95-373e-0410-b603-e72c3f656dc1
2005-06-17 17:15:58 +00:00
paulc
d6b03a2919
no message
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@378 acf43c95-373e-0410-b603-e72c3f656dc1
2005-05-30 15:13:02 +00:00
paulc
ab4ae958d5
Direct Sound channel, thread fixes
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@347 acf43c95-373e-0410-b603-e72c3f656dc1
2005-05-14 01:38:58 +00:00
paulc
b52a90a618
Updated copyright years, fixed %ll formatting.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@320 acf43c95-373e-0410-b603-e72c3f656dc1
2005-04-29 22:05:07 +00:00
paulc
1e4e75ac2b
Countless changes.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@318 acf43c95-373e-0410-b603-e72c3f656dc1
2005-04-28 22:46:59 +00:00
paulc
1fa66f6d66
*** empty log message ***
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@296 acf43c95-373e-0410-b603-e72c3f656dc1
2005-04-19 00:45:40 +00:00
paulc
4ae0904411
no message
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@288 acf43c95-373e-0410-b603-e72c3f656dc1
2005-04-11 21:20:12 +00:00
paulc
5d77d22865
no message
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@285 acf43c95-373e-0410-b603-e72c3f656dc1
2005-04-11 00:56:55 +00:00
paulc
9459c52dcd
*** empty log message ***
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@284 acf43c95-373e-0410-b603-e72c3f656dc1
2005-04-10 21:52:31 +00:00
paulc
8db5c6f0d4
no message
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@283 acf43c95-373e-0410-b603-e72c3f656dc1
2005-04-10 21:42:49 +00:00
paulc
d35d4d6b4a
Separated non-engine related classes in their own include file.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@279 acf43c95-373e-0410-b603-e72c3f656dc1
2005-04-08 10:55:22 +00:00
paulc
60ec9fec0b
Added VC++6 projects and lots of porting changes
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@272 acf43c95-373e-0410-b603-e72c3f656dc1
2005-04-02 00:49:38 +00:00
paulc
e14d74a073
*** empty log message ***
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@265 acf43c95-373e-0410-b603-e72c3f656dc1
2005-03-28 00:58:26 +00:00
paulc
61d3b640b0
Added Channel and Driver classes, beautified source a little.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@263 acf43c95-373e-0410-b603-e72c3f656dc1
2005-03-20 03:11:53 +00:00
paulc
8123c918b2
Moved the engine away, added install-noapi
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@260 acf43c95-373e-0410-b603-e72c3f656dc1
2005-03-18 18:16:59 +00:00
paulc
83f95d86bc
Status report in callgen and ysipchan.
...
Extended thread termination wait time.
git-svn-id: http://yate.null.ro/svn/yate/trunk@226 acf43c95-373e-0410-b603-e72c3f656dc1
2005-01-21 22:24:54 +00:00
paulc
c8758a6302
Attempt to autodetect the nonportable pthread kill all other threads.
...
YSIP channel supports reinvite and config file (for codecs for now).
git-svn-id: http://yate.null.ro/svn/yate/trunk@180 acf43c95-373e-0410-b603-e72c3f656dc1
2005-01-10 01:40:05 +00:00
paulc
84a24b93d4
Reduced thread stack size. Proper signalling in H323. Changed status format
...
in Zaptel.
git-svn-id: http://yate.null.ro/svn/yate/trunk@150 acf43c95-373e-0410-b603-e72c3f656dc1
2004-12-31 01:09:21 +00:00
paulc
3c141c611b
Added context jumping and message parameter setting to regexroute.
...
Added DDebug and NDebug macros to keep down the number of #define.
git-svn-id: http://yate.null.ro/svn/yate/trunk@116 acf43c95-373e-0410-b603-e72c3f656dc1
2004-11-29 21:01:04 +00:00
paulc
656e423474
Added copyright notice.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@114 acf43c95-373e-0410-b603-e72c3f656dc1
2004-11-29 03:56:41 +00:00
paulc
767e4dcc23
Fixed major memory leak in threads.
...
Added automatic restart when no module is busy.
git-svn-id: http://yate.null.ro/svn/yate/trunk@101 acf43c95-373e-0410-b603-e72c3f656dc1
2004-11-01 00:07:00 +00:00
paulc
efaa903106
Lots of stability improvments and bug fixes.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@91 acf43c95-373e-0410-b603-e72c3f656dc1
2004-10-22 02:45:19 +00:00