diff options
author | Kevin Krakauer <krakauer@google.com> | 2018-08-14 16:21:38 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-08-14 16:22:56 -0700 |
commit | d4939f6dc22e5607cf2ff8d2a9eb1178e47b0a22 (patch) | |
tree | c608c0bb4738d3626d7e71db0e32d4cb0bd781fe /pkg/sentry/memmap/mapping_set.go | |
parent | 12a4912aedc834fc8f404dc1ffeaa37088dd2d6b (diff) |
TTY: Fix data race where calls into tty.queue's waiter were not synchronized.
Now, there's a waiter for each end (master and slave) of the TTY, and each
waiter.Entry is only enqueued in one of the waiters.
PiperOrigin-RevId: 208734483
Change-Id: I06996148f123075f8dd48cde5a553e2be74c6dce
Diffstat (limited to 'pkg/sentry/memmap/mapping_set.go')
0 files changed, 0 insertions, 0 deletions