try_pop_unlocked


Description:

public G try_pop_unlocked ()

Tries to pop data from the this.

If no data is available, null is returned.

This function must be called while holding the this's lock.

Parameters:

this

a AsyncQueue

Returns:

data from the queue or null, when no data is available immediately.