]> git.llucax.com Git - software/eventxx.git/commit
Fix priorities API.
authorLeandro Lucarella <llucarella@integratech.com.ar>
Tue, 2 Jan 2007 18:13:42 +0000 (18:13 +0000)
committerLeandro Lucarella <llucarella@integratech.com.ar>
Tue, 2 Jan 2007 18:13:42 +0000 (18:13 +0000)
commit1df0df01b00d420fcfbcb4ad0c0a74e885c828df
treef286f3c8b1d8f0b340b0407f997e82448dc9fa28
parent1b91677bf8d6ef6b68ee0fa6b9c37fa28bf428f2
Fix priorities API.
Priorities were added in the event constructor, but event priority are reseted
by libevent when they are associated with an event_base (event_base_set()), so
it was useless. Now priorities are set in the dispatcher::add() method, so
event_priority_set() y called just after event_base_set() and we can be all
happy and have working priorities.
eventxx
test/Makefile
test/prio-test.cpp [new file with mode: 0644]