Moved the platform-independent part of the get/set_thread_context
requests to a common file.

6 files changed