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/04/05 22:39:36 UTC

[GitHub] [incubator-nuttx] patacongo opened a new pull request #738: sched/pthread_cond[timed]wait.c: return special mutex state.

patacongo opened a new pull request #738: sched/pthread_cond[timed]wait.c:  return special mutex state.
URL: https://github.com/apache/incubator-nuttx/pull/738
 
 
    A mutex may be configured with rather exotic options such as recursive, unsafe, etc.  The availability of these mutex options is controlled by configuation settings.  When each option is enabled, additional fields are managed inside of the mutex structure.
   
       pthread_cond_wait() and pthread_timed_wait() do the following atomically:  (1) unlock the mutex, (2) wait for the condition, and (3) restore the mutex lock.  When that lock is restored, pthread_cond_[timed]wait() must also restore the exact configuration of the mutex data structure if these "exotic" features are enabled.
   

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


With regards,
Apache Git Services

[GitHub] [incubator-nuttx] Ouss4 merged pull request #738: sched/pthread_cond[timed]wait.c: restore special mutex state.

Posted by GitBox <gi...@apache.org>.
Ouss4 merged pull request #738: sched/pthread_cond[timed]wait.c:  restore special mutex state.
URL: https://github.com/apache/incubator-nuttx/pull/738
 
 
   

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


With regards,
Apache Git Services