diff options
author | Ian Gudger <ian@iangudger.com> | 2021-03-04 02:34:51 -0800 |
---|---|---|
committer | Ian Gudger <ian@iangudger.com> | 2021-03-04 02:39:15 -0800 |
commit | 9b1170123d323e1f1e49bf5cf792070629d7ae09 (patch) | |
tree | e850fc44b92b866313bb23c935934810cd185421 /test/syscalls/linux/clock_nanosleep.cc | |
parent | 76f0d2c67b75f9916866c07663dae7c7da805dbc (diff) |
Fix race in unix socket transport.
transport.baseEndpoint.receiver and transport.baseEndpoint.connected are
protected by transport.baseEndpoint.Mutex. In order to access them without
holding the mutex, we must make a copy.
Notifications must be sent without holding the mutex, so we need the values
without holding the mutex.
Diffstat (limited to 'test/syscalls/linux/clock_nanosleep.cc')
0 files changed, 0 insertions, 0 deletions