[PATCH] event_machine: join reactor_thread if it is already running rather than falling through worker_loop
Eric Wong
normalperson at yhbt.net
Fri Jan 11 20:18:46 UTC 2013
"Mark J. Titorenko" <mark.titorenko at alces-software.com> wrote:
> Prior to the application of this patch, if an EventMachine
> reactor_thread has already been started elsewhere before the
> worker_loop is entered, the worker_loop exits as a second call to
> EM.run does not block the current thread.
>
> This patch causes the worker_loop thread to join the reactor_thread if
> it is running.
Thanks Mark! Pushed out as a12d2e64e04b5098f31e63a72ea8330b6c8f3a19
(line-wrapped commit message) to git://bogomips.org/rainbows.git
More information about the rainbows-talk
mailing list