* This method provides appropriate fencing for the beginning of a critical * section. Normally this method is invoked immediately after performing * synchronization to enter a critical section, such as acquiring a lock. * It guarantees the following: * - Loads coming from code following this method will see any changes * made to memory by other threads before the method
| 63 | * after any preceding branches have been resolved). |
| 64 | */ |
| 65 | static void inline enter() |
| 66 | { |
| 67 | lfence(); |
| 68 | } |
| 69 | |
| 70 | /** |
| 71 | * This method provides appropriate fencing for the end of a critical |
nothing calls this directly
no outgoing calls
no test coverage detected