Commit Graph

11 Commits

Author SHA1 Message Date
paulc 09b07f4b00 Added Semaphore class, made Mutex derive from (new class) Lockable, made Lock able to get a lock on any Lockable - Mutex or Semaphore.
Use pthread_mutex_timedlock and sem_timedwait if available on platform.
Fixed a bug in the IAX channel exposed by Mutex having virtual methods.


git-svn-id: http://voip.null.ro/svn/yate@2761 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-22 12:57:14 +00:00
paulc 2f1a5ff2f6 Added flags to data forwarded through DataNodes.
The amount of consumed data is returned to the source.


git-svn-id: http://voip.null.ro/svn/yate@2745 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-02 09:24:33 +00:00
paulc 692c726abd Added mutex names to most Yate modules.
git-svn-id: http://voip.null.ro/svn/yate@2613 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-05 14:06:39 +00:00
paulc b6f9f6815e Mux does no longer displays details in status overview.
Removed a redundant mutex lock - Module::msgStatus already locks the module.


git-svn-id: http://voip.null.ro/svn/yate@2236 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-22 14:15:01 +00:00
marian 4ef91884fd Removed superfluous early load call.
git-svn-id: http://voip.null.ro/svn/yate@1719 acf43c95-373e-0410-b603-e72c3f656dc1
2008-02-08 12:38:29 +00:00
marian c8d94ac06e Don't delete objects created by this module and owned by other modules.
git-svn-id: http://voip.null.ro/svn/yate@1718 acf43c95-373e-0410-b603-e72c3f656dc1
2008-02-08 08:31:58 +00:00
marian 4dce940f26 Instruct the engine to do a late unload of the module.
git-svn-id: http://voip.null.ro/svn/yate@1717 acf43c95-373e-0410-b603-e72c3f656dc1
2008-02-08 08:13:08 +00:00
paulc 01855a4892 Avoid deadlock by just dropping data if failing to lock.
git-svn-id: http://voip.null.ro/svn/yate@1574 acf43c95-373e-0410-b603-e72c3f656dc1
2007-12-21 21:39:42 +00:00
paulc 5bc7cccf67 Fixed cleanup order to avoid clearing sources too early.
git-svn-id: http://voip.null.ro/svn/yate@1573 acf43c95-373e-0410-b603-e72c3f656dc1
2007-12-21 20:57:44 +00:00
paulc 3842711a3c Fixed delete / delete[] mismatch.
git-svn-id: http://voip.null.ro/svn/yate@1572 acf43c95-373e-0410-b603-e72c3f656dc1
2007-12-21 19:43:26 +00:00
marian 18bcdee236 Added data multiplexer module.
git-svn-id: http://voip.null.ro/svn/yate@1522 acf43c95-373e-0410-b603-e72c3f656dc1
2007-12-06 17:01:46 +00:00