Thread synchronization mechanism
    1.
    发明授权

    公开(公告)号:US12067428B2

    公开(公告)日:2024-08-20

    申请号:US17128525

    申请日:2020-12-21

    CPC classification number: G06F9/52 G06F9/4881 G06F9/522 G06T1/20

    Abstract: An apparatus to facilitate thread synchronization is disclosed. The apparatus comprises one or more processors to execute a producer thread to generate a plurality of commands, execute a consumer thread to process the plurality of commands and synchronize the producer thread with the consumer thread, including updating a producer fence value upon generation of in-order commands, updating a consumer fence value upon processing of the in-order commands and performing a synchronization operation based on the consumer fence value, wherein the producer fence value and the consumer fence value each correspond to an order position of an in-order command.

Patent Agency Ranking