Function: thread--blocker
thread--blocker is a function defined in thread.c.
Signature
(thread--blocker THREAD)
Documentation
Return the object that THREAD is blocking on.
If THREAD is blocked in thread-join on a second thread, return that
thread.
If THREAD is blocked in mutex-lock, return the mutex.
If THREAD is blocked in condition-wait, return the condition variable.
Otherwise, if THREAD is not blocked, return nil.
Source Code
// Defined in /usr/src/emacs/src/thread.c
{
struct thread_state *tstate;
CHECK_THREAD (thread);
tstate = XTHREAD (thread);
return tstate->event_object;
}