now, I need a thread lock on MS-Windows platform.