Synchronizing threads
The Weird and The Wonderful
1
Posts
1
Posters
11
Views
1
Watching
-
Once upon a time, I had to maintain an MS Java application (first shame). In this application, threads were synchronized using the window-based interface. At the start of a task, a thread was given a reference to a label. The thread was started and changed by itself the text property of the label to some kind of status. In the "textchange" event of the label, the text was checked. If it equalled "100%" another thread was started following the same pattern.
/Zorbek