2010/2/3 Przemysław Czerpak <dru...@acn.waw.pl>:

> No. By default all memvars (PUBLIC and PRIVATE) variables are separated
> between threads and each threads starts with its own clean set of memvars.
> If you want to change it then you can use thread attributes in
> hb_threadStart() function. See hbthread.ch and code example in
> tests/mt/mttest08.prg if you are interested in it.
> See "MULTI THREAD SUPPORT" in doc/xhb-diff.txt. I documented shared
> and inherited thread resources in Harbour.

Thanks, I wanted only to be sure.

I've simplified all I could but it still segfault here and there when
there are at least 2 concurrent calls.

I'll try to create a self contained test.

best regards,
Lorenzo
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to