Resource lock/unlock capability in multithreaded computer environment
    1.
    发明授权
    Resource lock/unlock capability in multithreaded computer environment 失效
    多线程计算机环境中的资源锁定/解锁功能

    公开(公告)号:US6105049A

    公开(公告)日:2000-08-15

    申请号:US138996

    申请日:1998-08-25

    摘要: Hybrid lock and unlock capabilities are provided for a threaded computing environment. For example, kernel locking services are selectively employed in conjunction with functions in the POSIX threads standard to provide a lock capability and an unlock capability. The hybrid approach determines which lock scheme to employ by evaluating whether one thread or multiple threads concurrently desire a resource lock. When only one thread desires the lock, the thread is directly assigned resource ownership employing one of an operating system primitive lock process or a hardware lock process. An alternate lock process is used to obtain resource ownership when multiple threads concurrently desire the lock. This alternate process employs at least one function in the POSIX threads standard to implement a queue of waiting threads. A similar hybrid approach to the unlock capability is also provided.

    摘要翻译: 为线程计算环境提供混合锁和解锁功能。 例如,内核锁定服务与POSIX线程标准中的功能一起选择性地采用,以提供锁定功能和解锁功能。 混合方法通过评估一个线程或多个线程是否同时需要资源锁来确定要采用的锁定方案。 当只有一个线程需要锁定时,线程将直接使用操作系统原语锁定过程或硬件锁定过程之一分配资源所有权。 当多个线程同时需要锁定时,使用备用锁定进程来获取资源所有权。 该替代过程在POSIX线程标准中使用至少一个函数来实现等待线程的队列。 还提供了类似的解锁能力的混合方法。

    Method for resource lock/unlock capability in multithreaded computer
environment
    2.
    发明授权
    Method for resource lock/unlock capability in multithreaded computer environment 失效
    多线程计算机环境中资源锁定/解锁能力的方法

    公开(公告)号:US06112222A

    公开(公告)日:2000-08-29

    申请号:US139816

    申请日:1998-08-25

    IPC分类号: G06F9/38 G06F9/46 G06F9/00

    摘要: Hybrid lock and unlock capabilities are provided for a threaded computing environment. For example, kernel locking services are selectively employed in conjunction with functions in the POSIX threads standard to provide a lock capability and an unlock capability. The hybrid approach determines which lock scheme to employ by evaluating whether one thread or multiple threads concurrently desire a resource lock. When only one thread desires the lock, the thread is directly assigned resource ownership employing one of an operating system primitive lock process or a hardware lock process. An alternate lock process is used to obtain resource ownership when multiple threads concurrently desire the lock. This alternate process employs at least one function in the POSIX threads standard to implement a queue of waiting threads. A similar hybrid approach to the unlock capability is also provided.

    摘要翻译: 为线程计算环境提供混合锁和解锁功能。 例如,内核锁定服务与POSIX线程标准中的功能一起选择性地采用,以提供锁定功能和解锁功能。 混合方法通过评估一个线程或多个线程是否同时需要资源锁来确定要采用的锁定方案。 当只有一个线程需要锁定时,线程将直接使用操作系统原语锁定过程或硬件锁定过程之一分配资源所有权。 当多个线程同时需要锁定时,使用备用锁定进程来获取资源所有权。 该替代过程在POSIX线程标准中使用至少一个函数来实现等待线程的队列。 还提供了类似的解锁能力的混合方法。

    System for resource lock/unlock capability in multithreaded computer
environment
    3.
    发明授权
    System for resource lock/unlock capability in multithreaded computer environment 有权
    多线程计算机环境中的资源锁定/解锁功能系统

    公开(公告)号:US6105050A

    公开(公告)日:2000-08-15

    申请号:US139255

    申请日:1998-08-25

    IPC分类号: G06F9/46 G06F9/00

    CPC分类号: G06F9/52

    摘要: Hybrid lock and unlock capabilities are provided for a threaded computing environment. For example, kernel locking services are selectively employed in conjunction with functions in the POSIX threads standard to provide a lock capability and an unlock capability. The hybrid approach determines which lock scheme to employ by evaluating whether one thread or multiple threads concurrently desire a resource lock. When only one thread desires the lock, the thread is directly assigned resource ownership employing one of an operating system primitive lock process or a hardware lock process. An alternate lock process is used to obtain resource ownership when multiple threads concurrently desire the lock. This alternate process employs at least one function in the POSIX threads standard to implement a queue of waiting threads. A similar hybrid approach to the unlock capability is also provided.

    摘要翻译: 为线程计算环境提供混合锁和解锁功能。 例如,内核锁定服务与POSIX线程标准中的功能一起选择性地采用,以提供锁定功能和解锁功能。 混合方法通过评估一个线程或多个线程是否同时需要资源锁来确定要采用的锁定方案。 当只有一个线程需要锁定时,线程将直接使用操作系统原语锁定过程或硬件锁定过程之一分配资源所有权。 当多个线程同时需要锁定时,使用备用锁定进程来获取资源所有权。 该替代过程在POSIX线程标准中使用至少一个函数来实现等待线程的队列。 还提供了类似的解锁能力的混合方法。