[Ecls-list] Multithreaded globals

Dean O'Connor dean.oconnor at ite.com.au
Mon Nov 7 04:57:36 UTC 2005


Hi

I am still dualling with our multithreaded C app. So far 
ecl_import_current_thread() is working well :)

I have been finding dynamic variables very useful and am keen to know 
what happens over multiple threads.

In what way can I create a variable to be:
-  global across all threads ?
-  global within a thread ?

So what happens to defparameter/var variables in the main thread vs ones 
created after calling ecl_import_current_thread() ?

Cheers
Dean




More information about the ecl-devel mailing list