Re: semInit
Re: semInit
- Subject: Re: semInit
- From: "Glenn L. Austin" <email@hidden>
- Date: Sun, 28 Dec 2003 07:39:00 -0800
on 12/28/03 12:30 AM, email@hidden at email@hidden wrote:
> We are in the process of porting some code over from Solaris to run as
> a command line tool and eventually as a daemon and have run into a
> problem trying to use lightweight semaphores. It appears that semInit
> is not implemented in the gcc version included with XCode. Can anyone
> shed any light on this subject?
seminit is not part of *any* gcc version, it would be part of the libraries
provided by the OS that you link against. (Sorry to say, *way* too many
people think that the libraries are part of the compiler -- but they're not)
Given that, it is possible that Solaris requires their semaphore system to
be initialized before you make calls to sem_open (equivalent to sem_init on
Linux) and friends.
apropos can be your friend, as long as your search terms are fairly general.
--
Glenn L. Austin <><
Computer Wizard and Race Car Driver
<email@hidden>
<http://www.austin-home.com/glenn/>
_______________________________________________
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.
References: | |
| >semInit (From: email@hidden) |