US 12,067,428 B2
Thread synchronization mechanism
Stav Gurtovoy, Folsom, CA (US); Mateusz Maria Przybylski, Folsom, CA (US); Michael Apodaca, El Dorado Hills, CA (US); and Manjunath D S, Bangalore (IN)
Assigned to Intel Corporation, Santa Clara, CA (US)
Filed by Intel Corporation, Santa Clara, CA (US)
Filed on Dec. 21, 2020, as Appl. No. 17/128,525.
Prior Publication US 2022/0197719 A1, Jun. 23, 2022
Int. Cl. G06F 9/52 (2006.01); G06F 9/48 (2006.01); G06T 1/20 (2006.01)
CPC G06F 9/52 (2013.01) [G06F 9/4881 (2013.01); G06F 9/522 (2013.01); G06T 1/20 (2013.01)] 21 Claims
OG exemplary drawing
 
1. An apparatus to facilitate thread synchronization, comprising:
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 the in-order commands.