avoid deadlock on signal lock
avoid deadlock on signal lock

* a signal handler is not a thread
* if the main thread holds the lock when the signal handler is invoked
  in the same thread, it will deadlock
* holding the lock is not necessary for notify_one()

vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa