[Molecuilder-devel] [SCM] MoleCuilder branch ThreadFixes created. v1.4.7-20-gca890d1

git repository hosting git at ins.uni-bonn.de
Thu Sep 18 23:59:38 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  ca890d10159865475183bd08e46c1d304c75cc3f (commit)

- Log -----------------------------------------------------------------
commit ca890d10159865475183bd08e46c1d304c75cc3f
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