]> granicus.if.org Git - libevent/commit
Warn if forked from the event loop during event_reinit()
authorAzat Khuzhin <azat@libevent.org>
Mon, 1 Jul 2019 20:54:02 +0000 (23:54 +0300)
committerAzat Khuzhin <azat@libevent.org>
Mon, 1 Jul 2019 20:55:29 +0000 (23:55 +0300)
commit497ef904d544ac51de43934549dbeccce8e6e8f8
treeb7e06640dba7d57c83f214ddd151e11bcae414ad
parent5388a002f5ad3bdfc756584dc58485fc3db135d0
Warn if forked from the event loop during event_reinit()

Calling fork() from the event loop is not a great idea, since at least
it shares some internal pipes (for handling signals) before
event_reinit() call

Closes: #833
event.c