Quote:
Originally Posted by richard.puckett
Are you ever unwinding that recursion? You'll run out of stack eventually if you don't.
Anyway, you're treating SleepThread like a Runnable instead of a Thread. Use "start" instead of "run".
|
Thx for the response, this is my first BlackBerry application so I am not yet very familiar with the syntaxes.
How do I unwind the recursion?
Where am I to change "run" to start? In class SleepThread or I should change the calling method from _sleepThread.run() to _sleepThread.start()?