[Molecuilder-devel] [SCM] MoleCuilder branch ThreadFixes created. v1.4.7-20-g2b11dfb
git repository hosting
git at ins.uni-bonn.de
Mon Sep 15 13:54:33 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 2b11dfbc1e1e35a26b0f0634b74d579dc3fc208b (commit)
- Log -----------------------------------------------------------------
commit 2b11dfbc1e1e35a26b0f0634b74d579dc3fc208b
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 13102c09392ef451c7547ec206917e96beeb1fad
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 bc2d4676ddd23758665398fbacb74e40e7fdb45b
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