diff options
author | Rahat Mahmood <rahat@google.com> | 2021-08-05 18:44:10 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-08-05 18:47:30 -0700 |
commit | 15853bdc88523021f89261860eaebab06bb19dbf (patch) | |
tree | 46452d61cbd79c96cc10ae3244f84bfc960206dd /pkg/shim/runsc/utils.go | |
parent | a72efae969e6affc406efa9bccaa23b09e99b43c (diff) |
Replace unsafe use of fork() in msgqueue tests.
Msgqueue tests were using fork() to run create a separate thread of
execution for passing messages back and forth over a queue. However,
the child process after a fork() may only use async-signal-safe
functions, which at a minimum exclude gtest asserts.
Instead, use threads.
PiperOrigin-RevId: 389073744
Diffstat (limited to 'pkg/shim/runsc/utils.go')
0 files changed, 0 insertions, 0 deletions