mailr15592 - /1.3/multi/processor.py


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

Header


Content

Posted by edward on March 21, 2012 - 12:39:
Author: bugman
Date: Wed Mar 21 12:39:20 2012
New Revision: 15592

URL: http://svn.gna.org/viewcvs/relax?rev=15592&view=rev
Log:
The processor instances now have a data storage container.

This will be used by the data_upload() and data_fetch() API methods.


Modified:
    1.3/multi/processor.py

Modified: 1.3/multi/processor.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/multi/processor.py?rev=15592&r1=15591&r2=15592&view=diff
==============================================================================
--- 1.3/multi/processor.py (original)
+++ 1.3/multi/processor.py Wed Mar 21 12:39:20 2012
@@ -105,6 +105,10 @@
 from multi.api import Null_result_command
 from multi.misc import raise_unimplemented, Verbosity; verbosity = 
Verbosity()
 from multi.processor_io import Redirect_text
+
+
+class Data_store:
+    """A special Processor specific data storage container."""
 
 
 class Processor(object):
@@ -164,6 +168,10 @@
         self.NULL_RESULT = Null_result_command(processor=self)
         """Empty result command used by commands which do not return a 
result (a singleton?)."""
 
+        # Initialise the processor specific data store.
+        self.data_store = Data_store()
+        """The processor data store."""
+
 
         self._processor_size = processor_size
         """Number of slave processors available in this processor."""




Related Messages


Powered by MHonArc, Updated Wed Mar 21 13:00:01 2012