michallenc opened a new pull request, #3207:
URL: https://github.com/apache/nuttx-apps/pull/3207

   ## Summary
   
   ID previously marked as PID was in fact TID. PID was hidden under GROUP 
column. This fixes the description. The order of TID, PPID, PID is also changed 
to more logical TID, PID, PPID.
   
   ## Impact
   
   None except for someone parsing terminal output of `ps` command.
   
   ## Testing
   Before
   
   ```
   an2c> ps
     PID  PPID GROUP PRI POLICY   TYPE    NPX STATE    EVENT     SIGMASK        
    STACK COMMAND
       0     0     0   0 FIFO     Kthread   - Ready              
0000000000000000 0001008 Idle_Task
       1     0     0 224 RR       Kthread   - Waiting  Semaphore 
0000000000000000 0004032 hpwork 0x20400b98 0x20400be8
       2     0     2 100 RR       Task      - Running            
0000000000000000 0004056 startup_main
       3     2     3 100 RR       Task      - Waiting  Signal    
0000000000000000 0004056 watchdog
       4     2     4 100 RR       Task      - Waiting  Semaphore 
0000000000000000 0004064 broker
       5     2     5 100 RR       Task      - Waiting  Signal    
0000000000000000 0008192 ui
       6     2     4 100 RR       pthread   - Waiting  Signal    
fffffffffff7fdff 0004080 broker 0x499f61 0x20411090
       7     2     5 100 RR       pthread   - Waiting  Semaphore 
0000000000000000 0004080 ui 0x4930c9 0x20429768
   ```
   
   After
   ```
   an2c> ps
     TID   PID  PPID PRI POLICY   TYPE    NPX STATE    EVENT     SIGMASK        
    STACK COMMAND
       0     0     0   0 FIFO     Kthread   - Ready              
0000000000000000 0001008 Idle_Task
       1     0     0 224 RR       Kthread   - Waiting  Semaphore 
0000000000000000 0004032 hpwork 0x20400b98 0x20400be8
       2     2     0 100 RR       Task      - Running            
0000000000000000 0004056 startup_main
       3     3     2 100 RR       Task      - Waiting  Signal    
0000000000000000 0004056 watchdog
       4     4     2 100 RR       Task      - Waiting  Semaphore 
0000000000000000 0004064 broker
       5     5     2 100 RR       Task      - Waiting  Signal    
0000000000000000 0008192 ui
       6     4     2 100 RR       pthread   - Waiting  Signal    
fffffffffff7fdff 0004080 broker 0x499f61 0x20411090
       7     5     2 100 RR       pthread   - Waiting  Semaphore 
0000000000000000 0004080 ui 0x4930c9 0x20429768
   ```
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to