mailr14239 - /branches/gui_testing/status.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on August 07, 2011 - 17:48:
Author: bugman
Date: Sun Aug  7 17:48:30 2011
New Revision: 14239

URL: http://svn.gna.org/viewcvs/relax?rev=14239&view=rev
Log:
Created a lock object for the molecule, residue and spin data structures.

This will be used to prevent races when spin data is being accessed and 
changed at the same time.
This affects the spin viewer window which is very sensitive to races.


Modified:
    branches/gui_testing/status.py

Modified: branches/gui_testing/status.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/status.py?rev=14239&r1=14238&r2=14239&view=diff
==============================================================================
--- branches/gui_testing/status.py (original)
+++ branches/gui_testing/status.py Sun Aug  7 17:48:30 2011
@@ -67,6 +67,9 @@
 
         # The data pipe lock object.
         self.pipe_lock = Lock()
+
+        # The molecule, residue, spin structure lock object.
+        self.spin_lock = Lock()
 
         # The exception queue for handling exceptions in threads.
         self.exception_queue = Queue()




Related Messages


Powered by MHonArc, Updated Sun Aug 07 22:20:02 2011