mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err()
This commit is contained in:
@@ -214,7 +214,7 @@ int pthread_completejoin(pid_t pid, FAR void *exit_value)
|
||||
pjoin = pthread_findjoininfo(group, pid);
|
||||
if (!pjoin)
|
||||
{
|
||||
sdbg("Could not find join info, pid=%d\n", pid);
|
||||
serr("Could not find join info, pid=%d\n", pid);
|
||||
(void)pthread_givesemaphore(&group->tg_joinsem);
|
||||
return ERROR;
|
||||
}
|
||||
@@ -271,7 +271,7 @@ int pthread_completejoin(pid_t pid, FAR void *exit_value)
|
||||
void pthread_destroyjoin(FAR struct task_group_s *group,
|
||||
FAR struct join_s *pjoin)
|
||||
{
|
||||
sdbg("pjoin=0x%p\n", pjoin);
|
||||
serr("pjoin=0x%p\n", pjoin);
|
||||
|
||||
/* Remove the join info from the set of joins */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user