httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: Re[2]: Re[2]: Using semaphore locking
Date Tue, 09 Sep 1997 10:21:27 GMT
Pierre-Yves Kerembellec wrote:
> 
> Le [Tue, 9 Sep 1997 06:10:17 -0400 (EDT)], Jim Jagielski ecrivait :
> 
> > > > Ahem,
> > > > 
> > > >      IPC_RMID
> > > > 	 Remove the semaphore identifier specified by semid from
> > >
> > > Ooops, sorry Jim ! I was wrong !
> > >
> > Actually, I was too. The above behavior isn't standard, esp with
> > newer, BSD-based systems.
> > 
> > Shame, too, because it makes sense. Course, very little about
> > SysV IPC _does_ make sense :) :)
> 
> Right indeed ! :-((
> But this kind of behaviour still continue to shock me at all time,
> for example the creat/open/unlink stuff in FLOCK_SERIALIZED and you
> still have a valid file descriptor, even if the file does not exist any
> more ! Tell me about portability (just try to do the same think under
> Windows 32bits OS ...) ;-)
> 

definately! However, in that case, the above is actually portable
under UNIX going back to, I think, Version 7 and likely before.

Cheers!

-- 
====================================================================
      Jim Jagielski            |       jaguNET Access Services
     jim@jaguNET.com           |       http://www.jaguNET.com/
            "Look at me! I'm wearing a cardboard belt!"

Mime
View raw message