[Molecuilder-devel] [SCM] MoleCuilder branch ThreadFixes created. v1.4.9-3-gfff8fcb
git repository hosting
git at ins.uni-bonn.de
Sun Oct 26 00:02:58 CEST 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MoleCuilder".
The branch, ThreadFixes has been created
at fff8fcbd58abd7059236c3fbddafc1000d300ae9 (commit)
- Log -----------------------------------------------------------------
commit fff8fcbd58abd7059236c3fbddafc1000d300ae9
Author: Frederik Heber <heber at ins.uni-bonn.de>
Date: Wed Sep 3 21:26:17 2014 +0200
Cleaned up use of mutexes in ActionQueue.
- tempqueue now has its own mutex.
- more often using lock_guard.
- run_thread_isIdle has own mutex.
commit 9a4949ffbc4c1ce8a083f8878c8ff61e484e6e79
Author: Frederik Heber <heber at ins.uni-bonn.de>
Date: Wed Sep 3 19:21:08 2014 +0200
Added extra flag run_thread_running to ActionQueue.
- helgrind admonished race conditions when thread is joined. This did not fix
them but should be safer as we cannot know whether the other thread has
already been started when suddenly shutting down molecuilder due to an
exception.
commit 23b6cf7ccc51b9a98424d0793c25f776ae063e5f
Author: Frederik Heber <heber at ins.uni-bonn.de>
Date: Fri Aug 29 11:46:02 2014 +0200
THREADFIX: Fixed ActionQueue with respect to mutex and threads.
- run_thread is now last member variable, hence started after all other
variables are initialized.
- separated accesses to queues and to run_thread_isIdle flag. Also renamed
its mutex for easier association with it.
-----------------------------------------------------------------------
hooks/post-receive
--
MoleCuilder
More information about the Molecuilder-devel
mailing list