[gt-users] gt python with (multi)processing

Sascha Steinbiss steinbiss at zbh.uni-hamburg.de
Mon Jan 18 20:30:50 CET 2010


On 01/16/2010 04:07 PM, Gordon Gremme wrote:
> libgenometools is not thread-safe yet.

However, this raises the question of how we deal with that. I understand
this is not something very urgent, but in the long run could it be
rewarding to have a thread-safe GenomeTools version?

For the scripting language bindings, one could handle such issues using
the calling language's synchronization support. However, when a lot of
'action' happens on the C side, using big locks on the high-level caller
side can also result in low performance gain. It may also not  always
work reliably (e.g. in the Java/JNA bindings).

Any ideas or opinions? Could making the C library thread-safe be worth
the effort (and how much would that be)? And does anyone have experience
with that?

Sascha

-- 
Sascha Steinbiss
Center for Bioinformatics
University of Hamburg
Bundesstr. 43
20146 Hamburg
Germany

Email:  steinbiss at zbh.uni-hamburg.de
URL:    http://www.zbh.uni-hamburg.de/steinbiss
Phone:  +49 (40) 42838 7322
FAX:    +49 (40) 42838 7312



More information about the gt-users mailing list