I've merged some app into a single MT binary. What I expect is that
the all keeps all the previous way to work so different menus,
different dbfs but as thread modules instead of running binaries using
HB_RUN.

I've put all the sources in tha same dirs and added "thread" to all
module static vars but I still get a "shared" behaviour
( statics are set/get using a function ).

For example I have a static array that keeps the menu prompts. At the
start the menus are correct since every "module" has its own own
prompts but if I choose an entry in one app I get that entry disabled
in another app or not disabled at all.

If I launch the same app with a parameter that start only one thread
at time it works as expected.

Surely I'm missing sth or I am misunderstood how the "thread static" works.

Any suggestion?

best regards,
Lorenzo
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to