On Mon, 28 Feb 2011, Sylvain Fabre wrote:
* move mode : This will allow the user to use a "zero copy"
mechanism, by just moving the userdata content pointer to the
destination thread. Of course, it means that the source thread
does not need anymore the userdata. So i want to find a way to set
the variable pointing to the userdata to 'nil', in order to
unvalidate the userdata on the source side.
Do you have a proper method to perform this move mode ?
There is no single variable that refers to the userdata. You will have to
mutate it in place to invalidate it.