That design is historic.... If you want to use it in a multithreaded application you must
I was wondering about the use of global variables in the library. It seems that many functions use mdi_readXXXXXXX() functions to access state information for various blocks of the library and in turn, the currentAssociation variable is used by the mdi_readXXXXXXX() functions.
I'd like to understand the reasoning behind this and also, how multi threaded applications could work given the fact that the currentAssociation variable is shared between all threads (if i understand this correctly)
thanks
Archive powered by MHonArc 2.6.19+.