para_core_load gone for good

Justin Forest <[email protected]> Sun, 28 Nov 2004 18:37:28 +0300
Newsgroups gmane.comp.misc.faerion.devel
Message-ID <[email protected]>
It looks like the library have been loaded twice by the console stub. 
The library was already loaded during the process start-up, because 
functions like para_mod_load() were used in a regular manner, without 
looking them up using dlsym().

For some reason under Darwin this resulted in loading the same library 
twice, even though there was only one copy of it installed and the path 
was obviously the same.

This resulted in a "fresh" copy of all static variables, effectively 
deinitializing the library.  I don't think that the ability to load the 
core dynamically worths everything that has to be done to get past this 
problem.  Link using -lparabellym.  Normally you don't notice the 
difference.

There also was a deadlock when a message was sent to a module that is 
actively waiting for it.  Introduced seml::waitex() with a parameter not 
to lock the mutex (this actually goes to libfaeutil).



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
-------------------------------------------------------
Discussions in this list are held in two languages: English and Russian.
When replying, please use the language that the sender of the original
message is guaranteed to understand, or use English.