Mach-O, MoreSCF, CFRunLoopSource.
Mach-O, MoreSCF, CFRunLoopSource.
- Subject: Mach-O, MoreSCF, CFRunLoopSource.
- From: "George Andre" <email@hidden>
- Date: Thu, 8 Aug 2002 23:37:07 +0200
Hi ppl,
(Sorry for the crossport.. couldn't figure out which
list was more relevant)
I have a Mach-o console app (daemon) that
uses IONotificationPortCreate and
IONotificationPortGetRunLoopSource to get
a runloop to which I attach USB notifications
(IOUSBDevice) so that I can be called when my device
is plugged in/out.
The notification callbacks use MoreSCF to alter the
network settings. My problem is that sometimes (80%)
after using for example MoreSCSetCurrentSet() my process
dies completely (killed).
To be noted is that I had to strip some parts of MoreSCF
and NOT include the ApplicationSErvices.framework and
CoreServices.framework to get it to compile (Having those
in will kill the process when calling CFRunLoopSource)
Is there any issue when running CFRunLoopSource with MoreSCF
in a command line Mach-O tool ? Or rather, does anyone
know why my process is killed when using MoreSCF? It is killed
sporadically, the call itself completes, but the process dies.
Thanks,
George.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.