• 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
How to get the name of an opened semaphore?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to get the name of an opened semaphore?


  • Subject: How to get the name of an opened semaphore?
  • From: Tron Thomas <email@hidden>
  • Date: Thu, 23 Jun 2005 18:48:54 -0700

It seems that to solve my problem with semaphores and device space, that I should try unlinking the named semaphores when I close them. Opening a semaphore provides a sem_t pointer that can be used to close the semaphore. Unlinking a semaphore, however, requires the name used when opening the semaphore.

How can I obtain the name of the semaphore without having to maintain the relationship between the semaphore name and its corresponding sem_t pointer myself?


_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: How to get the name of an opened semaphore?
      • From: Peter Lovell <email@hidden>
  • Prev by Date: Does any public interface between Mac system preference network and third-party drivers?
  • Next by Date: Re: How to get the name of an opened semaphore?
  • Previous by thread: Does any public interface between Mac system preference network and third-party drivers?
  • Next by thread: Re: How to get the name of an opened semaphore?
  • Index(es):
    • Date
    • Thread