Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Leon Timmermans <l.m.timmermans <at> students.uu.nl>
Subject: Re: Bio::DB::Fasta and threads
Newsgroups: gmane.comp.lang.perl.bio.general
Date: Tuesday 4th December 2012 00:29:59 UTC (over 3 years ago)
On Mon, Dec 3, 2012 at 3:36 AM, Florent Angly 
wrote:
> The first issue is the serialization of Bio::DB::IndexedBase-inheriting
> (e.g. Bio::DB::Fasta and Bio::DB::Qual) objects, which is needed for
> threading (for example when using Thread::Queue::Any). I implemented
hooks
> that make it transparent to serialize using Storable freeze() and thaw().

I don't think serializing a magical thingie makes much sense. Storable
is commonly used for a lot more things than interthread communication
(e.g. network communication), this would often not work under such
circumstances.

Leon
 
CD: 4ms