Here's my write-up on using GCD with C++ for inter-thread communication:
http://wagerlabs.com/grand-central-dispatch-c-and-inter-thread-com
I wrote a user land USB driver, put in a framework and made the framework start
the driver thread upon initialization. I then proceeded to use Grand Central
Dispatch to have the driver run read, write, etc.
I'm using CFRunLoop but I don't think that's an absolute necessity.
Please let me know what you think!
Thanks, Joel
---
http://es.linkedin.com/in/joelreymont
http://twitter.com/wagerlabs
_______________________________________________
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]