On Thu, Sep 27, 2012 at 1:13 PM, Stanislav Frolov <frolosof...@gmail.com>wrote:

> There is a bug in error processing, I think. But root of my problem is in
> FElibc_error:"pthread_getspecific() failed.". I don't understand ECL's
> threading but looks like you call pthread_getspecific (ecl_process_env)
> before
> pthread_setspecific (ecl_set_process_env).
>

Thanks a lot for the careful debugging. It seems ECL ran into a vicious
circle: to register itself it has to create an environment, but to allocate
any object an existing environment was assumed. I have fixed this and
another problem with GC_unregister_my_thread(), which can only be called
once. Your example seems to work here now.

Juanjo

-- 
Instituto de FĂ­sica Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to