Extracted from Pike v7.6 release 61 at 2005-12-30.
pike.ida.liu.se
[Top]
Pike
Pike.Backend

Method Pike.Backend()->executing_thread()


Method executing_thread

Thread.Thread executing_thread()
int executing_thread()

Description

Return the thread currently executing in the backend. I.e. the thread that has called `() and haven't exited from that call. Zero is returned if there's no thread in the backend.

If Pike is compiled without thread support then 1 is returned if we're inside the backend, 0 otherwise.