31.10.2016 23:07, Vincent Snijders: > Is there any good generic (portable) function to ensure memory cache > flush for a thread on a multicore system? > > > Maybe: http://www.freepascal.org/docs-html/rtl/system/readwritebarrier.html Oh yes! That's the thing! Thanks a lot! Nikolai > > Vincent