Il 16/03/2012 14:46, Lee Essen ha scritto: > It does indeed … this came from the original Joyent code, I must > admit I did wonder whether gcc would optimise it away. I did consider > adding something to stop gcc complaining, but I don't fully > understand why this is necessary given the mlock() bit, so I thought > it best to leave it alone.
"(void) *(volatile char *)p" should work, but a comment would be nice. Paolo