• 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: semInit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: semInit


  • Subject: Re: semInit
  • From: p3consulting <email@hidden>
  • Date: Tue, 30 Dec 2003 12:03:06 +0100

We had to convert all of our semaphores to the heavyweight version. In
the interest of maintaining the compatibility of these libraries across
our systems I would like to keep the lightweight version. I need to
include the person who was actually working the issues before the
Christmas break. I think he said that the function stub exists in the
header but it does nothing.



Actually it returns -1, with a message "Function not implemented" from perror.


However, you may be interested to take a look at PostgreSQL source code to see how they solve the problem in their context,

./backend/port/pg_sema.c

(in short they use sem_open with O_CREAT | O_EXCL instead)

Other OpenSource projects could be source of inspiration also...
most of them have heavy x-platform problem solving history.


Pascal Pochet P3 Consulting _______________________________________________ xcode-users mailing list | email@hidden Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: crash reports to apple ...
  • Next by Date: RE: Good golly - What HAVE I Done? [SOLVED]
  • Previous by thread: Re: semInit
  • Next by thread: IB Help not working
  • Index(es):
    • Date
    • Thread