UNSOLVED

g00fy2

updated

17 years ago

G

g00fy2

2 Posts

0

2603

November 30th, 2009 04:00

Thread safety in Centera SDK

Question 1:

I read in the EMC Programmers Guide that all EMC operations except stream operations are thread safe.

==> is it correct that if we create 1 pool per thread (just at the initialization of each threading function), that we will never need any mutexes/serializations in our code?

Question 2:
Furthermore I checked and saw that several Clip operations need exclusive access to the Clip in memory.

==> Does the Clip access means that only 1 function in our program at a time can access the same clip at a time? Even if the same clip is opened twice in seperate threads? Or is it the Clip-per-pool a safe way to go?

Thanks,

Steven