Przemek
Przemyslaw Czerpak-2 wrote: > > The modifications are minimal. I did not have to change anything in the > code and only added THREAD keyword to static variable declarations. Rest > is done inside HVM. I'm attaching patch for current SVN with above > modifications if you are interested. This is very important extension > for me because it easy allows to create MT safe code which can be used > also in ST applications without introducing additional synchronization > mechanisms. In Harbour all core libraries except HVM will be common > for MT and ST mode. After 1.0 I plan to implement MT version of HVM in > spare time. I plan to add full SETs, MEMVARs and WAs separation in the > basic version. Later I'll add optional sharing on user requests. > SET callback functions will also have to be thread local to avoid > problems which can appear in some 3-rd party code, f.e. ADSRDD which > cannot follow our thread local data. In fact this RDD cannot be fully > thread separated do to limitation in ACE library but native ones will be. > Wonderful. A true MT functionality!!! The best part is same set of libs for MT and ST code like Xbase++, satisfying. I will test your patch this weekend. Pritpal Bedi, INDIA-USA -- View this message in context: http://www.nabble.com/2007-11-30-20%3A25-UTC%2B0100-Marek-Paliwoda-%28mpaliwoda-at-interia-pl%29-tp14096398p14741183.html Sent from the Harbour - Dev mailing list archive at Nabble.com. _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour