Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Set close-on-exec flag on the flock FD #5
Conversation
| @@ -328,6 +347,60 @@ func LockFromAnotherProc(c *gc.C, name string, kill chan struct{}, wait, unlock | ||
| return done | ||
| } | ||
| +// SleepFromAnotherProc will launch a process and cause it to sleep | ||
| +// for that it connects to to be closed, to prove that |
|
$$merge$$ |
axw
merged commit 1fe2a4b
into
juju:master
Nov 10, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
axw commentedNov 10, 2017
Set the close-on-exec flag for the flock
FD so that subprocesses do not hold the
flock open.