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

   ## Summary
   
   Add MSIOC_GRAB to give an open mouse handle exclusive access to
   subsequent mouse reports. Release the grab explicitly or when the
   owning handle closes.
   
   ## Impact
   
   Normal broadcast behavior is unchanged when no grab is active.
   Report delivery and poll notification use the per-reader lock.
   No lower-half changes are required.
   
   ## Testing
   
   - Built an isolated native simulator with uMouse enabled using
     CMake/Ninja and GCC 13.4.0 on Linux x86_64.
   - Passed 52 runtime checks covering exclusive delivery, ownership
     errors, queued reports, release/close recovery, poll and ioctl forwarding.
   - No physical hardware or SMP stress testing performed.


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