import java.util.*;

public class TaskThread implements  Runnable  
{
	private SeverList serverlist_list = null;
	private TaskList tasklist_list = null;
	
	public TaskThread(SeverList serverlist,TaskList tasklist_list)
	{
		this.serverlist_list=serverlist;
		this.tasklist_list= tasklist_list;
	}
	
	public void run() 
	{
		//»Ö¸´ÄÚ´æ
		serverlist_list.rest_Memory = serverlist_list.rest_Memory + tasklist_list.get_need_Memory();
	}


}
