Re: using shared memory in Performer

New Message Reply Date view Thread view Subject view Author view

Kowsik Guruswamy (kowsik++at++buggy.coryphaeus.com)
Thu, 14 Sep 1995 09:51:08 -0700


On Sep 14, 12:21pm, Simon Bennett wrote:
> Subject: Re: using shared memory in Performer

> I still think thou, that if portability is not an issue, then IRIX arenas
> are the way to go. It's faster and (I think) simpler (for programmers not
> familiar with either - I think arenas are easier to grasp - peronal opinion
> only - I'd been using sockets and SysV IPC for years before I moved to
> VisSim and found the arena IPC refreshingly simple and efficient). (This
> isn't an invitation to start a flame war on winopen() vs X BTW) :)
>
> +----------------------------------------------------------------------------+
> Simon Bennett simonb++at++wormald.com.au

Definitely. Take a look at 'Unix Network Programming' by Richard Stevens and
there's a whole bunch of overhead just to set up the semaphores/locks which
either you write once and reuse or write every time...

Personally, I think it's easy to just to do pfGetSemaArena() and then
usnewsema() and concentrate on your application rather than look up the man
pages for every teeny-tiny setting possible. [I just can't remember the
structures!].

K.

-- 
kowsik++at++coryphaeus.com

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:53 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.