Pops data from the queue. If no data is received before end_time, NULL is returned. This function must be called while holding the queue's lock. To easily calculate end_time a combination of g_get_current_time() and g_time_val_add() can be used.
a GTimeVal, determining the final time.
data from the queue or NULL, when no data is received before end_time.
See Implementation
Pops data from the queue. If no data is received before end_time, NULL is returned. This function must be called while holding the queue's lock. To easily calculate end_time a combination of g_get_current_time() and g_time_val_add() can be used.