Fix the named semaphore leak on OSX (and Linux) (#5269)
authorMike McLaughlin <mikem@microsoft.com>
Sat, 28 May 2016 03:03:32 +0000 (20:03 -0700)
committerMike McLaughlin <mikem@microsoft.com>
Sat, 28 May 2016 03:03:32 +0000 (20:03 -0700)
commit5ac6af932fe2a3f4b285b6dcc79010caf807ea9d
tree1796105c114488dcb47993f33e4a114b0a7ef4ff
parent7711017de7e9f5d42a0db7fd46f7072a64460913
Fix the named semaphore leak on OSX (and Linux) (#5269)

* Change the dbgshim launch handshake back.

The debugger side now creates the name semaphores like before and the transport pipe
existence determines that coreclr is ready.

Changed when the transport pipes are created: synchronously on the main thread.

Correctly set and check the HAVE_PROCFS_* defines.

* Code review feedback.
src/debug/debug-pal/unix/twowaypipe.cpp
src/debug/ee/debugger.cpp
src/debug/inc/twowaypipe.h
src/debug/shared/dbgtransportsession.cpp
src/inc/clrconfigvalues.h
src/pal/inc/pal.h
src/pal/src/config.h.in
src/pal/src/configure.cmake
src/pal/src/thread/process.cpp