In article <[EMAIL PROTECTED]>,
Christopher Masto <[EMAIL PROTECTED]> wrote:
> On Wed, Mar 01, 2000 at 06:20:28PM +0100, Anton Berezin wrote:
> > I would say that the programs you've mentioned are badly written then.
> >
> > It takes no more than
> >
> > XSync(disp,False);
> > shmctl( shmid, IPC_RMID, 0);
>
> It takes no more than a well-designed operating system service to
> ensure that badly written programs don't fail to release resources
> when they crash.
We didn't design that particular service. That's why it's called
System V shared memory. Also, it's persistent for legitimate design
reasons, just like files are. Applications need to clean up after
themselves. The OS has no way of knowing whether an application wants
its shared memory segments to survive after it terminates.
John
--
John Polstra [EMAIL PROTECTED]
John D. Polstra & Co., Inc. Seattle, Washington USA
"Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message