mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
can't receive the cid from a KTHREAD structure, fixes compiling with debugging enabled
svn path=/trunk/; revision=14176
This commit is contained in:
parent
c2c6049107
commit
343e3f7bdc
1 changed files with 4 additions and 4 deletions
|
@ -243,14 +243,14 @@ KiUnblockThread(PKTHREAD Thread,
|
||||||
if (THREAD_STATE_TERMINATED_1 == Thread->State ||
|
if (THREAD_STATE_TERMINATED_1 == Thread->State ||
|
||||||
THREAD_STATE_TERMINATED_2 == Thread->State) {
|
THREAD_STATE_TERMINATED_2 == Thread->State) {
|
||||||
|
|
||||||
DPRINT("Can't unblock thread %d because it's terminating\n",
|
DPRINT("Can't unblock thread 0x%x because it's terminating\n",
|
||||||
Thread->Cid.UniqueThread);
|
Thread);
|
||||||
|
|
||||||
} else if (THREAD_STATE_READY == Thread->State ||
|
} else if (THREAD_STATE_READY == Thread->State ||
|
||||||
THREAD_STATE_RUNNING == Thread->State) {
|
THREAD_STATE_RUNNING == Thread->State) {
|
||||||
|
|
||||||
DPRINT("Can't unblock thread %d because it's ready or running\n",
|
DPRINT("Can't unblock thread 0x%x because it's %s\n",
|
||||||
Thread->Cid.UniqueThread);
|
Thread, (Thread->State == THREAD_STATE_READY ? "ready" : "running"));
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue