Add ability to use pipes for creating threads suspended
authorAditya Mandaleeka <adityam@microsoft.com>
Thu, 7 May 2015 21:56:17 +0000 (14:56 -0700)
committerAditya Mandaleeka <adityam@microsoft.com>
Thu, 7 May 2015 23:08:54 +0000 (16:08 -0700)
commitbb75d684816f0aad52763f903752384f8236a9a2
tree964223102d72543af504c63898197b4f40e28375
parent625801a72a3ac45a888cde0d0aab1a667fb0a5f8
Add ability to use pipes for creating threads suspended

Added the ability in PAL to create a thread in suspended state by
specifying a pipe which ResumeThread will write to in order to
wake it up. This functionality is protected behind
USE_PIPES_FOR_CREATING_SUSPENDED_THREADS which is enabled on
everything except Darwin.
src/pal/src/config.h.in
src/pal/src/configure.cmake
src/pal/src/include/pal/threadsusp.hpp
src/pal/src/thread/process.cpp
src/pal/src/thread/thread.cpp
src/pal/src/thread/threadsusp.cpp