| Author | SHA1 | Message | Date |
|---|---|---|---|
|
|
806c97246c | glib < 2.32 requires use of distinct static mutex type | 14 years ago |
|
|
145bbd1f7c |
Prepare for multi-threaded operation
Introduce generic "objects" with reference counting primitives and automatic
resource deallocation when no refs are left ("garbage collection"). Overhaul
poller framework to make extensive use of these objects to allow for future
thread-concurrent operation.
No locking added anywhere yet except in poller. Poller is still not 100%
thread safe, but close.
Valgrind reports no errors or memleaks.
|
14 years ago |
|
|
9bff0cf86c | lets be more strict with timer removal | 14 years ago |
|
|
1fa2f614d4 | 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 |
|
|
fa6039e71d | BSEARCH macro is obsoleted | 14 years ago |
|
|
52e297f864 | use glib slice allocator in poller | 14 years ago |
|
|
8d50923508 | good bye poll(), hello epoll_*() | 14 years ago |
|
|
dc7517121d | remove uuid helper code | 14 years ago |