mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 06:42:32 +08:00
pid_t: unify usage of special task IDs
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
committed by
Xiang Xiao
parent
2ee12b2c5d
commit
68902d8732
+2
-2
@@ -160,7 +160,7 @@ typedef uint32_t mmsize_t;
|
||||
struct mm_allocnode_s
|
||||
{
|
||||
#ifdef CONFIG_DEBUG_MM
|
||||
uint32_t pid; /* The pid for caller */
|
||||
pid_t pid; /* The pid for caller */
|
||||
FAR void *backtrace[MM_BACKTRACE_DEPTH]; /* The backtrace buffer for caller */
|
||||
#endif
|
||||
mmsize_t size; /* Size of this chunk */
|
||||
@@ -175,7 +175,7 @@ static_assert(SIZEOF_MM_ALLOCNODE <= MM_MIN_CHUNK,
|
||||
struct mm_freenode_s
|
||||
{
|
||||
#ifdef CONFIG_DEBUG_MM
|
||||
uint32_t pid; /* The pid for caller */
|
||||
pid_t pid; /* The pid for caller */
|
||||
FAR void *backtrace[MM_BACKTRACE_DEPTH]; /* The backtrace buffer for caller */
|
||||
#endif
|
||||
mmsize_t size; /* Size of this chunk */
|
||||
|
||||
Reference in New Issue
Block a user