expensive thread

Need help with C, C++, perl, python, etc?

expensive thread

Postby j6df » 2006-09-15 10:30

this is the wat i make new thread:
public void startThread(){
if (threadIsActivate==false){
new myThread(this);
threadIsActivate = true;
}
}
and this is my constructor :
public myThread(Object o) {
this.o = o;
Thread thread = new Thread(this);
thread.start();
}
//in object the thread make changes
all the time after I make a connection to the internet my :
totalMemory-freeMemory
get bigger by 20000
how can I build a frugal thread?
j6df
 
Posts: 9
Joined: 2006-08-30 17:37

Postby lacek » 2006-09-16 05:38

I think this question is the same as this one. Please do not cross-post. Topic locked.
lacek
Moderator Team Member
 
Posts: 769
Joined: 2004-03-11 18:49
Location: Budapest, Hungary


Return to Programming

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable