添加单独注码命令,实现检测时注码
This commit is contained in:
@@ -351,6 +351,7 @@ void *tappend(void *p,void *del)
|
||||
{
|
||||
temp_def *t=&g_tempptr;
|
||||
void *ret=NULL;
|
||||
if(p==NULL) return p;
|
||||
rt_mutex_take(t->mutex,RT_WAITING_FOREVER);
|
||||
{
|
||||
if(tempptr_find(t,p)==0)
|
||||
|
Reference in New Issue
Block a user