renamed to Free/Clear instead of Clear/ClearData
This commit is contained in:
@@ -88,7 +88,7 @@ namespace hgl
|
||||
}
|
||||
else
|
||||
{
|
||||
data_list[recv_index].ClearData(); //清空接收区的数据
|
||||
data_list[recv_index].Clear(); //清空接收区的数据
|
||||
|
||||
post_lock.Lock();
|
||||
_Swap();
|
||||
|
@@ -54,7 +54,7 @@ namespace hgl
|
||||
{
|
||||
lock.Lock();
|
||||
proc_list.Add(join_list);
|
||||
join_list.ClearData();
|
||||
join_list.Clear();
|
||||
lock.Unlock();
|
||||
|
||||
return proc_list;
|
||||
@@ -124,7 +124,7 @@ namespace hgl
|
||||
|
||||
lock.Lock();
|
||||
proc_list.Add(join_list);
|
||||
join_list.ClearData();
|
||||
join_list.Clear();
|
||||
lock.Unlock();
|
||||
|
||||
return(true);
|
||||
@@ -140,7 +140,7 @@ namespace hgl
|
||||
|
||||
lock.Lock();
|
||||
proc_list.Add(join_list);
|
||||
join_list.ClearData();
|
||||
join_list.Clear();
|
||||
lock.Unlock();
|
||||
|
||||
return(true);
|
||||
|
@@ -176,7 +176,7 @@ namespace hgl
|
||||
++p;
|
||||
}
|
||||
|
||||
thread_set.ClearData();
|
||||
thread_set.Clear();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -134,7 +134,7 @@ namespace hgl
|
||||
|
||||
this->OnFinish(wt_index);
|
||||
|
||||
wl.ClearData();
|
||||
wl.Clear();
|
||||
}
|
||||
|
||||
return(true);
|
||||
|
Reference in New Issue
Block a user