Hi,

The data-tree or data storage classes are not thread-safe in MITK 0.12.2. 
However, the DataStorage class has been synchronized recently in the svn 
repository (see bug #2369 on bugs.mitk.org). You could write a wrapper class 
around the data tree in MITK 0.12.2 which synchronizes the Add and Remove 
methods, or even implement a Read/Write mutex solution (see bug).

Sascha

-----Ursprüngliche Nachricht-----
Von: Milad Sadinam [mailto:[email protected]] 
Gesendet: Dienstag, 24. November 2009 16:31
An: [email protected] >> "'[email protected]'"
Betreff: [mitk-users] Thread safety

Dear all,

I am planning to visualize some big amount of data. As their creation 
takes a lot of time and they would probably not fit on the main memory I 
plan to do some data streaming in background using multi-threading.  In 
best case, I would like that  the "background" threads can directly add 
data to the data-tree.
Has anyone experience with this? Is there a possibility to make the 
data-tree thread safe? (If possible without rewriting it completely).

Thanks in advance,
Milad

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to