aboutsummaryrefslogtreecommitdiff
path: root/src/thread/pthread_self.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-04-20 21:05:10 -0400
committerRich Felker <dalias@aerifal.cx>2011-04-20 21:05:10 -0400
commitf9a6372a98cc4d1b70400b2e7238e1f9eae50558 (patch)
tree7eb3280e965e29b80d4a331980bc80c6bb7ed7e7 /src/thread/pthread_self.c
parentproperly create new session/controlling terminal in forkpty (diff)
downloadgrovel-f9a6372a98cc4d1b70400b2e7238e1f9eae50558.tar.gz
grovel-f9a6372a98cc4d1b70400b2e7238e1f9eae50558.tar.xz
workaround bug in linux dup2
the linux documentation for dup2 says it can fail with EBUSY due to a race condition with open and dup in the kernel. shield applications (and the rest of libc) from this nonsense by looping until it succeeds
Diffstat (limited to 'src/thread/pthread_self.c')
0 files changed, 0 insertions, 0 deletions