Warn about questionable call of wait_and_dispatch_one_io_signal

Issue #2399
This commit is contained in:
Christian Helmuth 2017-05-02 15:22:23 +02:00
parent be4d8b24e2
commit 5738e53be2
1 changed files with 4 additions and 0 deletions

View File

@ -191,6 +191,10 @@ void Entrypoint::_process_incoming_signals()
bool Entrypoint::_wait_and_dispatch_one_io_signal(bool const dont_block)
{
if (!_rpc_ep->is_myself())
warning(__func__, " called from non-entrypoint thread \"",
Thread::myself()->name(), "\"");
for (;;) {
try {