Method, apparatus, and chip for implementing mutually-exclusive operation of multiple threads

    公开(公告)号:US10331499B2

    公开(公告)日:2019-06-25

    申请号:US15686830

    申请日:2017-08-25

    Abstract: Multiple lock assemblies are distributed on a chip, each lock assembly manage a lock application message for applying for a lock and a lock release message for releasing a lock that are sent by one small core. Specifically, embodiments include receiving a lock message sent by a small core, where the lock message carries a memory address corresponding to a lock requested by a first thread in the small core; calculating, using the memory address of the requested lock, a code number of a lock assembly to which the requested lock belongs; and sending the lock message to the lock assembly corresponding to the code number, to request the lock assembly to process the lock message.

    Method, Apparatus, and Chip for Implementing Mutually-Exclusive Operation of Multiple Threads
    4.
    发明申请
    Method, Apparatus, and Chip for Implementing Mutually-Exclusive Operation of Multiple Threads 有权
    用于实现多个线程的互斥操作的方法,装置和芯片

    公开(公告)号:US20160019100A1

    公开(公告)日:2016-01-21

    申请号:US14872946

    申请日:2015-10-01

    CPC classification number: G06F9/526 G06F9/52 G06F12/1466

    Abstract: Multiple lock assemblies are distributed on a chip, each lock assembly manage a lock application message for applying for a lock and a lock release message for releasing a lock that are sent by one small core. Specifically, embodiments include receiving a lock message sent by a small core, where the lock message carries a memory address corresponding to a lock requested by a first thread in the small core; calculating, using the memory address of the requested lock, a code number of a lock assembly to which the requested lock belongs; and sending the lock message to the lock assembly corresponding to the code number, to request the lock assembly to process the lock message.

    Abstract translation: 多个锁组件分布在芯片上,每个锁组件管理用于应用锁的锁应用消息和用于释放由一个小核发送的锁的锁释放消息。 具体地,实施例包括接收由小核发送的锁定消息,其中锁定消息携带与小核心中的第一线程请求的锁相对应的存储器地址; 使用所请求的锁的存储器地址来计算所请求的锁所属的锁组件的代码号; 并将锁定消息发送到与代码号对应的锁组件,以请求锁组件处理锁消息。

Patent Agency Ranking