unref_and_unlock


Description:

public void unref_and_unlock ()

Decreases the reference count of the asynchronous this by 1 and releases the lock.

Note:

Reference counting is done atomically. so g_async_queue_unref can be used regardless of the this 's lock.

This function must be called while holding the this's lock. If the reference count went to 0, the this will be destroyed and the memory allocated will be freed.

Parameters:

this

a AsyncQueue