[Ecls-list] multi-threaded C++ app
Dean O'Connor
dean.oconnor at ite.com.au
Wed Oct 19 18:24:17 UTC 2005
FYI ... as a test, I can call this function from my main thread, it
doesn't crash.
ecl_import_current_thread(Cnil, Cnil);
But still calling it from only from my worker threads still crashes.
That call was the first line of worker threads
(C++ MSVC 6)
Cheers
Dean
Juan Jose Garcia Ripoll wrote:
>On Thu, 2005-10-13 at 18:37 +1000, Dean O'Connor wrote:
>
>
>>I call cl_boot and a few evals in my main C++ thread.
>>Then I create another C++ thread which calls no other ECL stuff except for:
>>
>> ecl_import_current_thread(make_simple_string("thread"), Cnil);
>>
>>The problem may be the 2nd parameter, process_binding, but I don't know
>>what you use for it.
>>Any ideas ?
>>
>>
>
>process_binding is just a list of variable bindings. Passing NIL should
>be safe. I just kept it for future use and for compatibility with
>MP:MAKE-PROCESS. As for the crash, I will investigate it during the
>weekend. I have been updating the OS these days and have my build
>environment a bit messed up (In particular I must ensure the CVS tree
>works well with the new GCC 4.0.3)
>
>Juanjo
>
>
>
More information about the ecl-devel
mailing list