Viktor Szakáts wrote:

In second version you don't assign the returned
mutex handle to a variable, therefore it's
instantly released by GC, along with the mutex.

Thank you Viktor. I replaced my own naive implementation of CreateMutex with the wapi_ version, not realising about the garbage collection. It is rather a demeaning name for such an elegant system.

Thanks
Alex
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to