Commit Graph

287 Commits (bfcfc7b471eca2d39ccc05da0617ea4235e6853a)
 

Author SHA1 Message Date
Richard Fuchs bfcfc7b471 keeping the lock hold time to a minimum in lengthy calls_status operation
14 years ago
Richard Fuchs 95d9de7bc4 make the stats collection thread-safe
14 years ago
Richard Fuchs c19b99903c lets try with a lot of large, nested, naive locks
14 years ago
Richard Fuchs 28ac7b996c getting rid of call->log_info and introducing call->lock
14 years ago
Richard Fuchs 9fecc4d153 make the callmaster struct private - also requires update to redis module
14 years ago
Richard Fuchs e02b5398ce granular lock for "ports used" bit field
14 years ago
Richard Fuchs dd48d554c9 TOS for ipv6 needs an int to work
14 years ago
Richard Fuchs 1b20dcaa44 gonna need more than one lock in callmaster, so rename the one we have
14 years ago
Richard Fuchs 8d4703e2c7 need to handle the no-reply case to avoid deadlocks with bad cookies
14 years ago
Richard Fuchs 0dac780f86 getting rid of more global variables
14 years ago
Richard Fuchs c8021adadf EINTR requires special handling
14 years ago
Richard Fuchs d07194897b living on the edge with epoll edge-triggered behavior
14 years ago
Richard Fuchs 8edc107f2d using thread-local-storage for eliminating constant calls to time()
14 years ago
Richard Fuchs 107113eefc it helps to actually initialize the condition var
14 years ago
Richard Fuchs 24a6815e87 preliminary attempt to make the udp controller thread-safe
14 years ago
Richard Fuchs 161b2eec6a private structs make for safer threading
14 years ago
Richard Fuchs c24514404e missing a streambuf lock here
14 years ago
Richard Fuchs 984899d913 and the tcp controller becomes thread-safe
14 years ago
Richard Fuchs 86a4cc8876 add appropriate threading compile flags
14 years ago
Richard Fuchs 0a18880d36 make use of "make debug" target
14 years ago
Richard Fuchs 2905c333f7 making timers thread-safe
14 years ago
Richard Fuchs 229cb3c3ce use obj_* to catch double-free errors
14 years ago
Richard Fuchs aa261d2a66 add mutex_trylock primitives
14 years ago
Richard Fuchs e01692c297 add basic locking to callmaster struct
14 years ago
Richard Fuchs f6760ecc84 disable object debugging, seems to work fine
14 years ago
Richard Fuchs 0857b32eda add rwlock type and primitives
14 years ago
Richard Fuchs 8a6f735ed9 object size isnt really a useful piece of information
14 years ago
Richard Fuchs 856c0b9cce make the obj_ primitives more liberal to make for easier calling
14 years ago
Richard Fuchs 540d847d08 catch the inevitable disaster early and define our own mutex types. sigh. and there i was, thinking that using the glib types would make things easier.
14 years ago
Richard Fuchs e11d55b3fb glib < 2.32 requires use of distinct static mutex type
14 years ago
Richard Fuchs 2b63e794df Prepare for multi-threaded operation
14 years ago
Richard Fuchs 135aa3decf remove obsolete targets from makefile
14 years ago
Richard Fuchs 4a3e36bf04 mybsearch function is also obsolete
14 years ago
Richard Fuchs 1ee9782b98 dont poll kernel list when table couldnt be opened
14 years ago
Richard Fuchs 8b320e76d9 lets be more strict with timer removal
14 years ago
Richard Fuchs 52ef56d106 it's inefficient to walk the entire list of poller items every second just to look for times which we don't really use. so instead, use the linked timers list for this purpose. this is also inefficient for timer remove, but since we don't use those times anyway, we don't care.
14 years ago
Richard Fuchs ee30ea647a BSEARCH macro is obsoleted
14 years ago
Richard Fuchs 69e5a2840a use glib slice allocator in poller
14 years ago
Richard Fuchs 48f0a61277 good bye poll(), hello epoll_*()
14 years ago
Richard Fuchs 89fb0c42c4 update .so name to match .deb
14 years ago
Michael Prokop cc9810b968 Build package ngcp-mediaproxy-ng-dbg providing debugging symbols
14 years ago
Richard Fuchs f3a5ea2eb8 take rtcp ports into account when checking for timeouts
14 years ago
Jon Bonilla d172ed9ac6 Remove init and default scripts
14 years ago
Richard Fuchs f28fea205b take 0-byte packets into consideration when updating peer info for NAT'd streams
14 years ago
Michael Prokop c47c044adb Bump Standards-Version to 3.9.3
14 years ago
Michael Prokop 35dcbddfcd Bump Standards-Version to 3.9.3
14 years ago
Michael Prokop 15a695762b Set maintainer field to new default
14 years ago
Richard Fuchs 6c6332ed91 dump packet stats upon call teardown
14 years ago
Richard Fuchs 376dd662ba increase max udp packet len to 8192 and add warning message if the limit is hit
14 years ago
Richard Fuchs 8f94668a72 log version upon startup
14 years ago