Skip to content
Commit 5ec58612 authored by Maria Matejka's avatar Maria Matejka
Browse files

Conversion of events to coroutines

Instead of running the events in the main thread, we run them in their
separate threads as coroutines.

For now, there is still the_bird_lock which needs to be split to allow
concurrent thread execution.

Running an event directly is deprecated (there is one warning in BGP)
and should be removed in near future.

Re-scheduling an event from itself is deprecated as well. Instead, the
event should get to an appropriate cancellation point and call
ev_suspend() there. Conversion to this policy will be also made in near
future.
parent cde8e28b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment