pkarashchenko opened a new issue, #6046:
URL: https://github.com/apache/nuttx/issues/6046

   The https://github.com/apache/incubator-nuttx/pull/6036 introduce 
`BOARDIOC_SDCARD_SETNOTIFYCB` that allows attaching application callback to be 
called from the OS.
   From mailing list "FS automount: callback when FS is mounted":
   @pkarashchenko : Is there a way to get a callback when file system is 
mounted and ready to be accessed?
   @patacongo : No, there will never never be callbacks from the OS into 
application code. That is not the POSIX way. The POSIX way would use signals 
for things like this.
   
   Examples of similar implementation are:
   - `include/nuttx/buttons.h` : `BTNIOC_REGISTER`
   - `include/nuttx/fs/ioctl.h` : `FIOC_NOTIFY`
   
   The `BOARDIOC_SDCARD_SETNOTIFYCB` should be removed before next NuttX 
release.


-- 
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: commits-unsubscr...@nuttx.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to