Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: USB Device notifications in Carbon apps



Hmm, are you sure about that, Florent? WaitNextEvent is nothing but a wrapper around the Carbon event manager; when you call WaitNextEvent, you're running a runloop internally. I don't think using WNE would prevent runloop-based callbacks from functioning; they should work fine.

-eric


On Friday, May 16, 2003, at 01:57 AM, Florent Pillet wrote:

That's right. It won't work with WNE-based code. Maybe the runtime specialists here can suggest an approach that would allow you to mix the two models (i.e. make the USB code a plugin or separate thread with its own run loop, etc.)

Florent.

On vendredi, mai 16, 2003, at 08:07 Europe/Paris, Larry Gerndt wrote:


I'd be willing to get function pointers to make this work, but I'm wondering
if it would work in my WNE-based application? It seems to require run loops
to get notifications. Is that so?
--
Florent Pillet, Code Segment email@hidden
Developer tools and end-user products ICQ: 117292463
Palm, Mac, Unix, Windows http://perso.wanadoo.fr/fpillet
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: USB Device notifications in Carbon apps (From: Florent Pillet <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.