Neil Hodgson wrote:
   The cancelFlag is used in both the UI thread and the execution
thread so should be protected. That is why InterlockedExchange is used
in the current code. The same effect should be possible by using the
JobQueue mutex in an int SetCancelFlag(int value) method.
Can anyone confirm whether InterlockedExchange() exists in GTK?

April

--
Good judgment comes from experience. Experience comes from bad judgment.
-- Jim Horning

_______________________________________________
Scite-interest mailing list
Scite-interest@lyra.org
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to