wangchdo opened a new pull request, #16944:
URL: https://github.com/apache/nuttx/pull/16944

      Curernt implementation default semaphore max allowed value to 
SEM_VALUE_MAX.
      In some cases, user may want to change this, so provide a function to do 
this: sem_setmaxvalue
   
   *Note: Please adhere to [Contributing 
Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).*
   
   ## Summary
   
   In some cases, user may want to change this, so provide a function to do 
this: sem_setmaxvalue
   
   ## Impact
   
   New api added, no impact to current functions 
   
   ## Testing
   
   **Switch on new config**
   
   <img width="829" height="404" alt="image" 
src="https://github.com/user-attachments/assets/faa62eaa-8818-4a05-83a8-4e6c5f4b09fe";
 />
   
   **ostest PASS**
   <img width="591" height="537" alt="image" 
src="https://github.com/user-attachments/assets/8abc9615-8539-4f06-86b2-d6fe23aff8ca";
 />
   
   
   


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