On Aug 20, 2016, at 14:26 , Andreas Falkenhahn <andr...@falkenhahn.com> wrote:
> 
> such a trivial thing as polling the number of events in the queue

It seems to me quite possible that there might be events that don’t appear in 
the queue until you ask for an event.  That is, a data source of some kind 
might have triggered, but it’s not checked (and turned into an event) until you 
ask. This might be a reasonable optimization in a mature OS, and it might be a 
reason why there’s no “number of events in the queue” API, and why polling is 
neither trivial nor encouraged.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to