gsethi / golem

Automatically exported from code.google.com/p/golem
0 stars 0 forks source link

Verify that channles used for thread safety #12

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Through out the code we use channels to hold values we need to be thread safe 
(Example: running, TotalJobsChan etc in Submission)

Provided these are always accessed in the same order this should be fine but if 
they are accessed out of order it could produce occasional dead locks... there 
may be a better convention for this (a struct in a channel?)

Original issue reported on code.google.com by ryanbres...@gmail.com on 29 Jun 2011 at 8:17

GoogleCodeExporter commented 8 years ago
This is no longer an issue as items are now stored in structs instead of 
separate channels. 

Original comment by ryanbres...@gmail.com on 8 Aug 2011 at 11:40