Re: Pushing a NULL into g_async_queue
- From: mortenw gnome org (Morten Welinder)
- To: gtk-devel-list gnome org
- Subject: Re: Pushing a NULL into g_async_queue
- Date: Tue, 1 Mar 2005 14:03:26 -0500 (EST)
> 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.
Morten
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]