• 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: Substitute for kill(2)?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Substitute for kill(2)?


  • Subject: Re: Substitute for kill(2)?
  • From: Gabriel Zachmann via Cocoa-dev <email@hidden>
  • Date: Tue, 25 Jul 2023 21:24:33 +0200

> NSDistributedNotificationCenter is a way to send a notification out across
> the system. Only processes that are listening for the notification will
> receive it and have a chance to do something with it. It’s like yelling out
> in a crowded room to tell a single person something. Everyone will hear your
> message, but only one will be listening. Make sense?

Definitely. Sounds great for my purpose.
It will happen only very rarely.
And I don't have any payload.

>
> https://developer.apple.com/documentation/foundation/nsdistributednotificationcenter?changes=_4&language=objc
>

Thanks a lot for the pointer!

> But what it really sounds like you want to use XPC (Cross Process
> Communication) for a more targeted

I had looked into that but it appeared to heavy-weight for my purposes.


Best regards, Gabriel


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

References: 
 >Substitute for kill(2)? (From: Gabriel Zachmann via Cocoa-dev <email@hidden>)
 >Re: Substitute for kill(2)? (From: Alex Zavatone via Cocoa-dev <email@hidden>)
 >Re: Substitute for kill(2)? (From: Rob Petrovec via Cocoa-dev <email@hidden>)
 >Re: Substitute for kill(2)? (From: Gabriel Zachmann via Cocoa-dev <email@hidden>)
 >Re: Substitute for kill(2)? (From: Rob Petrovec via Cocoa-dev <email@hidden>)

  • Prev by Date: Re: Substitute for kill(2)?
  • Next by Date: Re: Substitute for kill(2)? (James Walker)
  • Previous by thread: Re: Substitute for kill(2)?
  • Next by thread: Re: Substitute for kill(2)?
  • Index(es):
    • Date
    • Thread