Flash Games

 FAQ   Search   Members   Groups   Register  User Control Panel      Login 

Your time now:
Mon Nov 23, 2009 1:37 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ]  Bookmark and Share
Author Message
 Post subject: Is it run() method for a thread?
PostPosted: Wed May 02, 2007 7:18 am 
Offline

Joined: Mon Apr 23, 2007 2:10 pm
Posts: 13
Hai everybody,

I need to clarify a dout regarding thread's, means we all write the run()method(what is the purpose of it?),as per i concern it is meant for contineous running purpose,so we are telling for contineous running we implement run method, so is their any requirement to specify any loop inside the run method for contineous running or not is the question?



regards,
sasi.


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 05, 2007 4:49 pm 
Offline

Joined: Thu Apr 26, 2007 11:18 pm
Posts: 6
Well, your vision is incorrect.

It is not "meant for contineous running purpose". It is simply an entry point to the thread (invoked by start() method), such as main function is an entry point for java application.
If you want a thread to run continuously, you would have to define your own loop inside run method.

regards
Marek


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group - Flash Games - TNX Invitation Code - TNX Review


Webmaster - Excruciating - Johnathan - Kotik - Ash - Tomi - rangana - Phate - dflynn - Medley