ccollins476ad opened a new pull request #1677: kernel/os: Don't hang in 
os_time_delay() if !sched
URL: https://github.com/apache/mynewt-core/pull/1677
 
 
   If the OS scheduler is disabled (`!MYNEWT_VAL(OS_SCHEDULING)`), then turn 
`os_time_delay()` into a no-op.
   
   Prior to this PR, this function would hang forever when scheduling is 
disabled.
   
   The motivation for this PR is the `flash_loader` app.  The scheduler is not 
enabled in this app.  If it is run on a device with SPI flash, the calls to 
`os_time_delay()` in the SPI flash driver cause the app to hang.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to