Hi! I have a project, where for some targets I have a POST_BUILD rule, which
adds some data about this target into a "central file". If I build a project
with several threads sometimes I get errors, when both threads try to write
into this "central file" at the same time.
So I was wondering, if there is some way of doing an exclusive
lock/mutex/semaphore with CMake scripts?
Maybe you have some other ideas how to correctly write into one file from
different threads?
Thanks! Denis
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake