mailr14197 - /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 06, 2011 - 15:17:
Author: bugman
Date: Sat Aug  6 15:17:28 2011
New Revision: 14197

URL: http://svn.gna.org/viewcvs/relax?rev=14197&view=rev
Log:
Created a lock object for the relax data pipes.

This will be used to prevent races in the GUI when data pipe info is 
accessed, but when a thread is
changing the data pipes at the same time.


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=14197&r1=14196&r2=14197&view=diff
==============================================================================
--- branches/gui_testing/status.py (original)
+++ branches/gui_testing/status.py Sat Aug  6 15:17:28 2011
@@ -64,6 +64,9 @@
 
         # Execution lock object.
         self.exec_lock = Exec_lock()
+
+        # The data pipe lock object.
+        self.pipe_lock = Lock()
 
         # The exception queue for handling exceptions in threads.
         self.exception_queue = Queue()




Related Messages


Powered by MHonArc, Updated Sat Aug 06 15:40:01 2011