Add debug assertion on failure to allocate a watchdog
This commit is contained in:
parent
3884117ae9
commit
a8cb0ad8f4
@ -260,6 +260,8 @@ int sigtimedwait(FAR const sigset_t *set, FAR struct siginfo *info,
|
||||
/* Create a watchdog */
|
||||
|
||||
rtcb->waitdog = wd_create();
|
||||
DEBUGASSERT(rtcb->waitdog);
|
||||
|
||||
if (rtcb->waitdog)
|
||||
{
|
||||
/* This little bit of nonsense is necessary for some
|
||||
|
Loading…
Reference in New Issue
Block a user