18489559. METHOD AND APPARATUS FOR PREVENTING TASK-SIGNAL DEADLOCK DUE TO CONTENTION FOR MUTEX IN RTOS simplified abstract (SAMSUNG ELECTRONICS CO., LTD.)
Contents
METHOD AND APPARATUS FOR PREVENTING TASK-SIGNAL DEADLOCK DUE TO CONTENTION FOR MUTEX IN RTOS
Organization Name
Inventor(s)
Raju Udava Siddappa of Bangalore (IN)
Chandan Kumar of Bangalore (IN)
Sudharshan Rao B of Bangalore (IN)
Tushar Vrind of Bangalore (IN)
Venkata Raju Indukuri of Bangalore (IN)
METHOD AND APPARATUS FOR PREVENTING TASK-SIGNAL DEADLOCK DUE TO CONTENTION FOR MUTEX IN RTOS - A simplified explanation of the abstract
This abstract first appeared for US patent application 18489559 titled 'METHOD AND APPARATUS FOR PREVENTING TASK-SIGNAL DEADLOCK DUE TO CONTENTION FOR MUTEX IN RTOS
Simplified Explanation
The abstract of this patent application describes a method for preventing a task-signal deadlock in a real-time operating system (RTOS) caused by contention for a mutex. The method involves the following steps:
- Detecting a signal notification sent to a task for the execution of a signal handler.
- Identifying a mutex that needs to be acquired by the signal handler when the signal notification is detected.
- Determining whether the identified mutex has already been acquired by the task.
- Utilizing an alternative stack for the execution of the signal handler if it is determined that the mutex has been acquired by the task.
Potential applications of this technology:
- Real-time operating systems: This method can be applied to any real-time operating system to prevent task-signal deadlocks caused by mutex contention.
Problems solved by this technology:
- Task-signal deadlocks: The method prevents deadlocks that can occur when a task is waiting for a mutex to be released while also waiting for a signal to be processed.
Benefits of this technology:
- Deadlock prevention: By utilizing an alternative stack for the execution of the signal handler, the method ensures that a task-signal deadlock does not occur, improving the overall reliability and performance of the real-time operating system.
Original Abstract Submitted
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.