From: Francesc A. <fa...@gm...> - 2012-11-02 20:57:03
|
On 11/2/12 4:49 PM, Ben Elliston wrote: > Hi Francesc > >> Hmm, now that I think, Blosc is not thread safe, and that can bring >> these sort of problems if you use it from several threads (but it >> should be safe when using several *processes*). > I am using multiprocessing.Pool, like so: > > if __name__ == '__main__': > pool = Pool(processes=2) # start 2 worker processes > items = load_items () > pool.map (process_items, items) > Hmm, that's strange. Using lzo or zlib works for you? -- Francesc Alted |