• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Mach-O, MoreSCF, CFRunLoopSource.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: [slightly OT] Licence code design
  • Next by Date: NSMatrix NSimageCell and drag
  • Previous by thread: Re: CarbonSound warning during build
  • Next by thread: NSMatrix NSimageCell and drag
  • Index(es):
    • Date
    • Thread