Skip to content

Remove impossible to reach (operationally) code #883

@skliper

Description

@skliper

Is your feature request related to a problem? Please describe.
OS_MutSemTake_Impl will block until this thread owns the mutex, check would require OS error:

if (OS_ObjectIdDefined(mutex->last_owner))
{
OS_DEBUG("WARNING: Task %lu taking mutex %lu while owned by task %lu\n",
OS_ObjectIdToInteger(self_task), OS_ObjectIdToInteger(sem_id),
OS_ObjectIdToInteger(mutex->last_owner));
}

Describe the solution you'd like
Remove

Describe alternatives you've considered
None

Additional context
None

Requester Info
Jacob Hageman - NASA/GSFC, OSAL code review

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions