• 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
Re: RunLoop in Helper Tool
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RunLoop in Helper Tool


  • Subject: Re: RunLoop in Helper Tool
  • From: Kevin Meaney <email@hidden>
  • Date: Sun, 15 Sep 2013 16:04:27 +0100

Interesting that you should say that.

I was doing exit(0) but after reading this discussion I thought it would be cleaner to do the CFRunLoopStop on the main thread. Unfortunately I'd broken my LaunchAgent doing some other stuff at the time and just now I've got stuff working and then I've been wondering why LaunchAgent doesn't stop. Back to exit(0) it is.

Kevin

On 15 Sep 2013, at 15:30, Marcel Weiher <email@hidden> wrote:

> On Sep 15, 2013, at 10:32 , Gerriet M. Denkmann <email@hidden> wrote:
>
>> I have a Helper Tool, running as root, started via SMJobBless and communicating vie Xpc.
>>
>> Works fine, but:
>> 1. it cannot stop (CFRunLoopStop),
>
> Do all the cleanup you want to do and then exit(0)  ?
>
> Marcel
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> 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:
>
> This email sent to email@hidden


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden


  • Follow-Ups:
    • Re: RunLoop in Helper Tool
      • From: Marcel Weiher <email@hidden>
References: 
 >RunLoop in Helper Tool (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: RunLoop in Helper Tool (From: Marcel Weiher <email@hidden>)

  • Prev by Date: Re: RunLoop in Helper Tool
  • Next by Date: Re: RunLoop in Helper Tool
  • Previous by thread: Re: RunLoop in Helper Tool
  • Next by thread: Re: RunLoop in Helper Tool
  • Index(es):
    • Date
    • Thread