Georg Hopp
|
dd97a6482a
|
Remove -DREENTRANT because it's not needed right now
|
10 years ago |
Georg Hopp
|
c5fc0fe64d
|
The base event handler does not handle any event by itself, because of that the event_methods classvar may be NULL.
|
11 years ago |
Georg Hopp
|
0d2cd2042b
|
don't use TR_queueEmpty anymore.
|
11 years ago |
Georg Hopp
|
205ead2576
|
Revert "first try for a threaded event dispatcher, but this is not correctly working right now."
This reverts commit fcbef2f039.
|
11 years ago |
Georg Hopp
|
bce8f9eaa8
|
Revert "more thread syncs."
This reverts commit 5cd826f91a.
|
11 years ago |
Georg Hopp
|
4fe1298185
|
Use c99 standard and threadsave libc
|
11 years ago |
Georg Hopp
|
9e0658637e
|
Revert "Revert "more thread syncs.""
This reverts commit 48a57a14f5.
|
11 years ago |
Georg Hopp
|
48a57a14f5
|
Revert "more thread syncs."
This reverts commit 5cd826f91a.
|
11 years ago |
Georg Hopp
|
5cd826f91a
|
more thread syncs.
|
11 years ago |
Georg Hopp
|
fcbef2f039
|
first try for a threaded event dispatcher, but this is not correctly working right now.
|
11 years ago |
Georg Hopp
|
a98e0740cd
|
Use general purpose timer from trbase and drop events when they are not handled at all
|
11 years ago |
Georg Hopp
|
36e2f3088b
|
return success or failure on event issue
|
11 years ago |
Georg Hopp
|
564e2f3040
|
trigger heartbeat with a factor of missed heartbeats instead of multiple times. Change logging a bit
|
11 years ago |
Georg Hopp
|
f453af49fa
|
change the logging a bit
|
11 years ago |
Georg Hopp
|
f129e7f180
|
remove pending events buffer again as this was the wrong way
|
11 years ago |
Georg Hopp
|
9c64e2addf
|
remove additional newline
|
11 years ago |
Georg Hopp
|
b255fc9a7e
|
Add abitility to get a string representation of an event. Used as DEBUG logging of event.
|
11 years ago |
Georg Hopp
|
db9b87b26b
|
add an extra queue for pending events. That way I achive a better ballance between reading and processing and i don
't need the additional timeout for polls
|
11 years ago |
Georg Hopp
|
01463d7b28
|
add finalize for event subjects. This results in an delete of the subject as soon as the last event is done and prevents emitting new events. Force heartbeat to be done and don't queue it.
|
11 years ago |
Georg Hopp
|
2c2cb317e5
|
keep track of the anount of pending events on a subject
|
11 years ago |
Georg Hopp
|
8fb778937b
|
add function to update next poll timer externally.
|
11 years ago |
Georg Hopp
|
f6254dfb48
|
preparation for edge triggerd events
|
11 years ago |
Georg Hopp
|
a17bd09dfe
|
create explicit event done type and reissue event is no handler has returned EVENT_DONE.
|
11 years ago |
Georg Hopp
|
83ee50f97e
|
separate issue from emit
|
11 years ago |
Georg Hopp
|
10bd340cbd
|
signal handling
|
11 years ago |
Georg Hopp
|
b24cbd48d2
|
timeouts are now in milliseconds
|
11 years ago |
Georg Hopp
|
778b5c4d37
|
The event_methods hash is statically generated and should not be freed.
|
12 years ago |
Georg Hopp
|
59ef0fbb04
|
some leak fixes ... but now I have a strange segfault in during cleanup, but only if the caller of eventHandlerClassCleanup is build with optimizations.
|
12 years ago |
Georg Hopp
|
ac2246841d
|
Some fixes and additions. Dispatcher and handler now work.
|
12 years ago |
Georg Hopp
|
e5534f937a
|
update copyright information
|
12 years ago |
Georg Hopp
|
f1d2bae0dc
|
add forgotten new files...oops
|
12 years ago |
Georg Hopp
|
6eb724522f
|
EventDispatcher start and stop functionality
|
12 years ago |
Georg Hopp
|
d0182d8fa7
|
EventDispatcher timing
|
12 years ago |
Georg Hopp
|
59594f3145
|
derive EventDispatcher from EventSubject
|
12 years ago |
Georg Hopp
|
72d8b99bc0
|
code for event handling
|
12 years ago |
Georg Hopp
|
1cdd4af95e
|
initial checkin
|
12 years ago |