yield processing power on a Applet.

R

Roberto Gallo

Hello;

I have an Applet that needs to check if a lock file is present before it
goes on.
How can I keep checking if this file exists without using the entire
CPU? My Thread.sleep(TIME_AMOUNT) call appears not to work on my single
thread jApplet....

Thank you.
 
R

Ryan Stewart

Roberto Gallo said:
Hello;

I have an Applet that needs to check if a lock file is present before it
goes on.
How can I keep checking if this file exists without using the entire
CPU? My Thread.sleep(TIME_AMOUNT) call appears not to work on my single
thread jApplet....

Thank you.
Well, first off, there's no such thing as a single thread Applet. I'd say
you'll need to post some code to get any answers. See the following document
for tips on posting code:
http://www.physci.org/codes/sscce.jsp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top