Even after reading last week's discussion I'm still not sure if it is OK to get 
the current modifier keys from a secondary thread.  I realize that the keyboard 
is not a GUI, but it's UI, and I'm worried about that "accessing GUI from 
secondary thread" thing.

Is it OK to call CGEventSourceFlagsState() from a secondary thread?

Data Point: I tried it and it didn't crash.

Thanks,

Jerry Krinock


_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to