Thread
:
how to stop a thread
View Single Post
#
7
(
permalink
)
08-29-2008, 04:36 PM
ProjectKaiser
Member
Join Date: Aug 2008
Location: Saint-Petersburg, Russia
Posts: 47
Quote:
Originally Posted by
Norm
The thread issuing the notify must have the lock on the monitor(midipedalflag)
Correct, I missed that, should be something like this:
Code:
sychronized(midipedaflag) { midipedalflag= true; midipedalflag.notify(); }
Last edited by ProjectKaiser : 08-29-2008 at
04:39 PM
.
ProjectKaiser
View Public Profile
Send a private message to ProjectKaiser
Visit ProjectKaiser's homepage!
Find all posts by ProjectKaiser