Commit cd459ce
committed
prov/shm: add SAR buffer locking
There seems to be a possible hang/race condition
in the shm provider where a SAR buffer is set as READY
before the data has been saved.
Add a lock when progressing into the SAR buffer until
we determine a better solution.
Signed-off-by: aingerson <alexia.ingerson@intel.com>1 parent d74b029 commit cd459ce
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
85 | 89 | | |
86 | 90 | | |
87 | 91 | | |
| |||
94 | 98 | | |
95 | 99 | | |
96 | 100 | | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
97 | 104 | | |
98 | 105 | | |
99 | 106 | | |
| |||
0 commit comments