Thread Coordinator for Process Thread Ownership Management

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Mission-critical operating systems face challenges in managing process threads due to unbounded delays caused by process threads being in a wait condition, leading to potential deadlocks and inefficiencies in obtaining ownership, especially when multiple threads are in a privileged mode or waiting for events that may not occur, affecting system performance.

Innovation Solution

A thread coordinator is introduced to efficiently gather and suspend process threads by releasing and reassigning ownership based on specific ownership conditions, allowing it to manage threads in a privileged mode or waiting for events, thereby reducing delays and facilitating ownership transfer to an ownership agent.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If process threads are allowed to remain in wait condition or privileged mode, then system flexibility and thread autonomy are maintained, but unbounded delays and potential deadlocks occur

Engineering Contradiction:
Improvethread autonomyVSAvoidownership acquisition delay
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The system performs preliminary actions by checking the operational state of process threads before attempting ownership transfer. The thread coordinator proactively identifies threads in wait condition or privileged mode and handles them specially, preventing blocking before it occurs. This allows the system to maintain thread autonomy while avoiding unbounded delays by preparing and managing thread states in advance.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

A thread coordinator is introduced as an intermediary component between the ownership agent and process threads. The coordinator mediates the ownership transfer process by managing threads in wait condition or privileged mode, releasing them appropriately, and coordinating the transfer. This intermediary resolves the contradiction by maintaining thread autonomy while ensuring timely ownership acquisition through coordinated management.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If all process threads are gathered and suspended before ownership transfer, then ownership transfer safety is ensured, but system productivity decreases due to thread suspension

Engineering Contradiction:
Improveownership transfer safetyVSAvoidsystem performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

Instead of gathering and suspending all process threads, the system applies partial action by only gathering and suspending the specific thread whose ownership is being transferred. Other threads continue to run normally, maintaining system productivity. The ownership transfer safety is ensured by carefully managing the specific thread's state while allowing others to proceed.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The thread management process is segmented into selective operations. Rather than treating all threads uniformly by suspending them all, the system segments the operation to handle only the relevant thread for ownership transfer. This segmentation maintains reliability for the specific ownership operation while preserving overall system productivity through continued execution of other threads.

Inventive Principle:
Principle #1Segmentation

3Speed

If process threads are released to handle wait events during ownership gathering, then thread responsiveness is improved, but ownership acquisition complexity increases

Engineering Contradiction:
Improvethread responsivenessVSAvoidownership management complexity
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The thread coordinator serves as an intermediary that manages the complexity of releasing and re-gathering threads. It handles the intricate logic of determining when to release threads for wait events and when to re-gather them for ownership transfer. This intermediary absorbs the complexity, allowing the system to maintain thread responsiveness while managing ownership acquisition through coordinated, complex operations.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system dynamically adjusts thread states based on operational conditions. Threads are released to handle wait events when appropriate, and re-gathered when ownership transfer is needed. This dynamic management allows the system to respond quickly to events while still achieving ownership transfer, balancing responsiveness with the coordinated management of thread states.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS12079657B2Handling ownership of process threads
Publication Date: 2024.09.03 HEWLETT PACKARD ENTERPRISE DEV LP
  • US12079657B2 patent drawing
  • US12079657B2 patent drawing
  • US12079657B2 patent drawing

AI summary

Examples for handling ownership of process threads include acquiring ownership of a set of process threads to assign ownership of a subject process thread to an ownership agent. In some examples, acquiring ownership may include acquiring ownership of process threads with a wait event. During acquiring ownership of the set of process threads, one or more process threads that are acquired may be released to attend to an event that has occurred. A thread coordinator that handles ownership during acquiring phase may release and rebid one or more process threads. Upon acquiring all the process threads, the ownership of the subject process thread is assigned to an ownership agent. With a set of ownership conditions, the process threads are acquired efficiently within reduced time and with reduced deadlocks.