in reply to Re^14: Threads sharing global variable
in thread Threads sharing global variable
It hangs on Windows; and will eventually hang everywhere if you add any useful code to the while loops.
I asked why it deadlocks. You are saying "it hangs. End of."
Well, there you go. This is the difference between users and experts. The difference between playing and knowing.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^16: Threads sharing global variable
by BrowserUk (Patriarch) on Mar 06, 2016 at 16:04 UTC |