You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nuttx.apache.org by Nathan Hartman <ha...@gmail.com> on 2021/05/06 20:05:54 UTC

Signaling semaphore question

If I understand the code correctly, in nuttx/drivers/video/video.c, the
semaphore 'dqbuf_wait_flg' seems to be used as a signaling semaphore.

If that's correct, then should its initialization (located in
initialize_streamresources()) be followed by a call to
nxsem_setprotocol(SEM_PRIO_NONE)?

Thanks,
Nathan