mirror of
https://github.com/apache/nuttx.git
synced 2026-09-27 18:58:27 +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
@@ -34,6 +34,7 @@
|
||||
#include <nuttx/irq.h>
|
||||
#include <nuttx/clock.h>
|
||||
#include <nuttx/semaphore.h>
|
||||
#include <nuttx/sched.h>
|
||||
#include <nuttx/mm/iob.h>
|
||||
#include <nuttx/net/net.h>
|
||||
|
||||
@@ -43,7 +44,7 @@
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
#define NO_HOLDER (pid_t)-1
|
||||
#define NO_HOLDER (INVALID_PROCESS_ID)
|
||||
|
||||
/****************************************************************************
|
||||
* Private Data
|
||||
|
||||
Reference in New Issue
Block a user