On Sun, Sep 21, 2008 at 11:35 PM, Przemyslaw Czerpak <[EMAIL PROTECTED]> wrote:
> Please remember that Harbour supports > > THREAD STATIC <var> [ := <init> ] > > which are local to thread - each thread uses it's own copy > of such static variable initialized to <init>. > In many cases it's enough to use them instead of normal static > variables though it depends on program context. Many thanks. However I've found that MT helps to rethink the oldest parts of the applications. I've found that many functions I've written in the past can be easily replaced by Harbour internal functions or are not so critical today. In ClientServer/Lan times every access to the files was a pain so it was normal trying to load as much as possible at startup from files to static file wide arrays accessed by set/get funcs. But those arrays have become a shared resource between many different part of the app. Since my goal is to move completely to an RPC/XML schema, MT is essential to support multiple users with multiple apps on the same server/port. So for me it's better to start to clean the apps than trying to get them work in some way. best regards, Lorenzo _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour