received before end_time.
AsyncQueue.timedPop
void * timedPop(glib.time_val.TimeVal endTime)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 [glib.global.getRealTime] and [glib.time_val.TimeVal.add] can be used.
Parameters
endTime | a #GTimeVal, determining the final time |
Returns
data from the queue or null, when no data is
Deprecated
use [glib.async_queue.AsyncQueue.timeoutPop].