Re: Pushing a NULL into g_async_queue

> consider the g_async_queue_try_pop() and g_async_queue_timed_pop()
> functions. They will either return a value from the queue, or NULL if no
> items exist. If you can store NULLs in the queue, then the result becomes
> ambiguous.

Just like g_hash_table_lookup.   In other words, that problem has been
dealt with elsewhere by adding new functions that can distinguish the
situations when needed.  For better or worse.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]