You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/08/11 15:03:09 UTC

[GitHub] [incubator-nuttx-apps] patacongo opened a new issue #360: Illegal use of wdog timers in FTPC

patacongo opened a new issue #360:
URL: https://github.com/apache/incubator-nuttx-apps/issues/360


   netutils/ftpc/ftpc_connect.c  uses internal OS wdog timer functions wd_start(), wd_cancel(), etc.  This is aviolation of the portable POSIX OS interface.  wd_start(0 is not an application accessible interface. It is only for use inside the OS.
   
   The wdog interface functions cannot be called in PROTECTED or KERNEL build modes nor can they do the interrupt handling logic access user space. Remember that the callback is in the context of the timer interrupt handler.
   
   The use of the internal OS wdog function should be replaced with user POSIX timer interface functions.
   


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

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