From: Tom Flynn (flynnt++at++engr.sgi.com)
Date: 03/14/2001 21:31:40
On Tue, 13 Mar 2001 sgi.USENET++at++hoolan.org wrote:
> I use RedHat 7.0 with Performer 2.4 . I find sproc() and other
> us-family semaphore and lock function call in the libraries
> that Performer provides. Knowing the reason that they are here
> just to make a Performer porting to Linux platform, could I
> use these calls as those in Irix?
The us-family of calls were implemented enough to port the MP portion of
Performer. Assuming your app doesn't need anything more than what
Performer needed, they should work for you. Except sproc()...that's an
empty stub at the moment. I'd recommend using fork() if you can instead.
If you really need sproc()-like functionality, __clone() (see: man clone)
might work for you. In short, give it a try.
-tom
-- "Mongooses are famous for their snake-fighting ability, and are almost always victorious because of their speed, agility, and timing and also because of their thick coat."
This archive was generated by hypermail 2b29 : Wed Mar 14 2001 - 21:31:43 PST