Implementing SetTimer and CompleteOverlappedEx APC callbacks.

Fixes #410.
This commit is contained in:
Ben Vanik
2015-08-29 23:43:26 -07:00
parent 7f505a15b7
commit 7711568af9
4 changed files with 36 additions and 24 deletions

View File

@@ -417,6 +417,9 @@ void XThread::Execute() {
int exit_code = 0;
// Dispatch any APCs that were queued before the thread was created first.
DeliverAPCs();
// If a XapiThreadStartup value is present, we use that as a trampoline.
// Otherwise, we are a raw thread.
if (creation_params_.xapi_thread_startup) {