RTEMS: ensure epicsThreadMustJoin() short-circuits

This commit is contained in:
Michael Davidsaver
2022-07-30 10:31:17 -07:00
parent e5ad12e638
commit e22d74310b

View File

@@ -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);
{