添加单独注码命令,实现检测时注码

This commit is contained in:
andy
2023-10-15 20:59:21 +08:00
parent fda9545130
commit 35f6597d97
9 changed files with 129 additions and 61 deletions

View File

@@ -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)