08.12.2015 15:31, Vlad Khorsun wrote: > This code is not the same as code that you blamed and it is not correct > at all.
At first, I don't blame your code. It is robust and fast enough. It is just a little confusing at first glance and leave some more room for threads racing if you take into consideration other possible flags. At second, this code is correct because cleanSweepFlags() will clear both flags anyway. -- WBR, SD. ------------------------------------------------------------------------------ Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel