A nasty bug was found in the DSiWin32 library. It causes the DSiTimeGetTime64 function to work incorrectly when called from multiple threads at the same time. As this function is central to time measurement in the OmniThreadLibrary, it was essential to release new, fixed version.
This version also contains two small enhancements.
- SetTimer method now accepts TProc and TProc
timer methods. - IOmniTask implements method InvokeOnSelf which can be used to schedule anonymous function execution from a task back to self.
As usual, you can get OmniThreadLibrary from GitHub (3.07.3, HEAD), download the zip, install it with GetIt or with Delphinus.
Damn, multithreading is hard!
thank you for your constant effect, PG!
ReplyDeleteThanks a lot!
ReplyDeleteThank you ...
ReplyDeleteThanks.
ReplyDeleteThanks for your work!
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThanks !!
ReplyDeleteTou are the best ever !