I am moving my apps desktop apps to web interface.

Since the UI is in another process ( the browser ) is somewhat
difficult to manage wait states so MT is becoming almost necessary.

I've successfully implemented MT in my httpserver and the results are
great, but http apps are made to be ( almost ) stateless while desktop
apps are full of vars that remember selections, global and user
setting, preferences and so on.

Following the CL5 guidelines I've heavily used module wide static vars
and set/get functions to access them but in a MT statics are difficult
to share so the idea is to use a "big" public hash as a "session
holder" where every static become a key with a value and share it
between threads.

What do you think?

Do you see other paths?

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

Reply via email to