Synchronizing Multiple Threads Efficiently
In one embodiment, the present invention includes a method of assigning a location within a shared variable for each of multiple threads and writing a value to a corresponding location to indicate that the corresponding thread has reached a barrier. In such manner, when all the threads have reached...
Saved in:
Main Authors | , |
---|---|
Format | Patent |
Language | English |
Published |
17.10.2013
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | In one embodiment, the present invention includes a method of assigning a location within a shared variable for each of multiple threads and writing a value to a corresponding location to indicate that the corresponding thread has reached a barrier. In such manner, when all the threads have reached the barrier, synchronization is established. In some embodiments, the shared variable may be stored in a cache accessible by the multiple threads. Other embodiments are described and claimed. |
---|---|
Bibliography: | Application Number: US201313912777 |