RTEMS: ensure epicsThreadMustJoin() short-circuits
This commit is contained in:
1 parent
e5ad12e638
commit
e22d74310b
1 file changed
+3
@@ -371,6 +371,9 @@ void epicsThreadMustJoin(epicsThreadId id)
|
||||
rtems_id target_tid = (rtems_id)id, self_tid;
|
||||
struct taskVar *v = 0;
|
||||
|
||||
if(!id)
|
||||
return;
|
||||
|
||||
rtems_task_ident (RTEMS_SELF, 0, &self_tid);
|
||||
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user