Add support for injecting activation functions into threads.
authorAditya Mandaleeka <adityam@microsoft.com>
Fri, 7 Aug 2015 01:43:43 +0000 (18:43 -0700)
committerAditya Mandaleeka <adityam@microsoft.com>
Thu, 13 Aug 2015 19:24:59 +0000 (12:24 -0700)
commitd72072f3f50016dc2a0fc65d145c2e61adedd28d
treeed3060d213906468497b862bbf383eae1e3224f4
parenta53ce11696ed5c8d6d1cf1816def44693c667ce4
Add support for injecting activation functions into threads.

Use signals to interrupt the specified thread and have it
call the activation function passed in.

Commit migrated from https://github.com/dotnet/coreclr/commit/a0bb6f06b2313ee2cae556af4e47139329ac9098
src/coreclr/src/pal/inc/pal.h
src/coreclr/src/pal/src/exception/signal.cpp