> >So write a library that wraps it as you want it. Or just go and look on
> >freshmeat for a couple that exist. 
> 
> i am describing a bug in linux and you write now i must fix it?

Linux != Linux Kernel. The Linux kernel implements the interfaces as defined
by the Unix standards. The interface to a user application is a library
problem. If you want a cute interface you can write a library for it or
use one of the exiting libraries

> >You can attach an shm object and then delete it. It goes away on the last
> >user death
> 
> it doesn't.

Then you have another kernel bug or your request to delete it after attach
failed and you didnt check the errno. What kernel are you using. If its 2.0
and threaded then it could well be a real problem

> >Shared memory can be swapped. If linux is crashing then you've found a bug
> >whether it gets swapped or not. 
> 
> quite easy bug to reproduce at your system. I've given all the
> code needed.
 
Can you mail me the actual code and I'll try it. Include some info on your
machine configuration and kernel rev with it.

Alan

-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]

Reply via email to