[knem-devel] how to write INT value with KNEM "atomically"
Brice.Goglin at inria.fr
Wed Sep 28 06:34:10 CEST 2011
Le 27/09/2011 23:05, George Bosilca a écrit :
> On Sep 27, 2011, at 16:38 , Brice Goglin wrote:
>> If the remote-side is writing on your own memory, you can't know for
>> sure if it already came back from the syscall when you see the data it
> This was always the most unsafe way of remote notification. My point was that even for a put, you need some completion to be able to remove the knem registration. This is done through a syscall, which has to ensure that the memory is flushed before.
You can set the single-use flag on the region if you want it to be
destroyed automagically without any additional syscall.
More information about the knem-devel