Quote:
Originally Posted by EDesbiens
We had a lot of global variables and they started dead-locking... We changed some of them into local variables to avoid dead-locks.
|
You were writing globals from multiple places? If so, there are some other ways of managing those sorts of communications. They're not in my toolkit today, look for semaphores and queues and the like. And probably you fixed it in the whole with local variables (empirical observations are important).