Pops data from the queue. If the queue is empty, blocks until end_time or until data becomes available.
If no data is received before end_time, NULL is returned.
To easily calculate end_time, a combination of g_get_real_time() and TimeVal.add can be used.
This function must be called while holding the queue's lock.
a glib.TimeVal, determining the final time
data from the queue or NULL, when no data is received before end_time.
Deprecated: use AsyncQueue.timeoutPopUnlocked.
Pops data from the queue. If the queue is empty, blocks until end_time or until data becomes available.
If no data is received before end_time, NULL is returned.
To easily calculate end_time, a combination of g_get_real_time() and TimeVal.add can be used.
This function must be called while holding the queue's lock.