Comment 9 for bug 1039493

Revision history for this message
Pablo Haya (pablo-haya) wrote :

Thanks Tamás. We have compiled igraph using --enable-tls and the problem persists.

We know that igraph is not thread-safe, so our software deals with concurrent access when necessary. As you pointed out (and we agree with you), an isolated use of igraph in a separated thread should work, even if the library is not thread-safe. As far as we know non thread-safe libraries does not guarantee that your code works properly when it manipulates shared data by multiple threads at the same time. But, you can still use threads safely if your code avoids dangerous concurrent situations, right? This is the case of the script, isnt it?

As it seems to be platform-specific, we are wondering if the Ubuntu version (and/or installed packages) could affect. We are using Ubuntu 10.04 LTS.