From: se gm Date: 2013-04-10T02:08:36+09:00 Subject: Re: Mapping string data ptr to buffer in ffi >how will you ensure that there is >proper >synchronization? By blocking the thread which is waiting for external data - as soon as the data is ready, the function would return and of course, the string changes would be immediately visible in Ruby without major performance drop from unneeded memory copy operations. -- Posted via http://www.ruby-forum.com/.