Patent · US Active

Method and apparatus for preventing task-signal deadlock due to contention for mutex in RTOS

US12327148B2 · kind B2 · utility

0Cited by
1References
18Claims
0Family size

Assignee

Inventors

Key dates

Filing dateOct 18, 2023
Grant dateJun 10, 2025
Priority date
Expiry dateOct 18, 2043

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F9/4831
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

A method for preventing a task-signal deadlock arising due to contention for a mutex in a real-time operating system (RTOS) includes detecting, by a processing unit, a signal notification sent to a task for execution of a signal handler; identifying, by the processing unit, a mutex to be acquired by the signal handler, when the signal notification is detected; determining whether the identified mutex has been acquired by the task; and utilizing, by the processing unit, an alternative stack for execution of the signal handler, in response to determining that the mutex has been acquired by the task, for preventing a task-signal deadlock during the execution.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.