help-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What would it take....


From: Da Zheng
Subject: Re: What would it take....
Date: Wed, 23 Dec 2009 15:49:01 +0800
User-agent: Thunderbird 2.0.0.23 (Macintosh/20090812)

Samuel Thibault wrote:
> Da Zheng, le Wed 23 Dec 2009 10:21:50 +0800, a écrit :
>>> Anyway, deciding between shared memory or pure IPC is not really an
>>> issue.  I believe the more difficult part is how to make process
>>> actually perform IPCs securely.  It can probably be useful to check how
>>> shm was implemented.
>> Do you mean shm device in Linux or in Xen?
> 
> In Hurd, the patch from Marcus Brinkmann.
> (debian/patches/hurd-i386/submitted-sysvshm.diff in the debian glibc
> sources)
> 
OK, thank you.

One more thing: is it enough to only use something like spin_lock (or volatile 
variable + memory barrier) to protect a variable in shared memory between two 
processes?

Zheng Da




reply via email to

[Prev in Thread] Current Thread [Next in Thread]