yangsong8-a1 opened a new pull request, #22406:
URL: https://github.com/apache/nuttx/pull/22406

   ## Summary
   
   - Make the pipe allocation lock (g_pipelock) and the pipe number
     counter (g_pipeno) in drivers/pipes/pipe.c per-CPU variables
     (DEFINE_PER_CPU_BMP / this_cpu_var_bmp) so that each CPU
     registers its own pipes under BMP.
   
   ## Impact
   
   - No change when BMP is disabled: the macros expand to the same
     plain static variables, the generated object code is identical
     to master (only DWARF line info differs).
   
   ## Testing
   
   - sim:nsh with CONFIG_PIPES + CONFIG_EXAMPLES_PIPE, `pipe` command:
   
   ```
   pipe_main: PIPE redirection test PASSED
   pipe_main: PIPE test PASSED
   ```
   


-- 
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]

  • [PR] # drivers/pipes: support... yangsong8-a1 (via GitHub) via commits

Reply via email to