Dmitry Timoshkov : server: Set appropriate status for a terminated thread.

Alexandre Julliard julliard at winehq.org
Mon May 13 15:02:45 CDT 2013


Module: wine
Branch: master
Commit: fd76b695b911ec0be12ba2a67c85f0d97174c56f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=fd76b695b911ec0be12ba2a67c85f0d97174c56f

Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date:   Mon May 13 16:43:58 2013 +0900

server: Set appropriate status for a terminated thread.

---

 server/thread.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/thread.c b/server/thread.c
index 18c1e08..5f9738d 100644
--- a/server/thread.c
+++ b/server/thread.c
@@ -481,7 +481,7 @@ static void set_thread_info( struct thread *thread,
         if ((req->affinity & thread->process->affinity) != req->affinity)
             set_error( STATUS_INVALID_PARAMETER );
         else if (thread->state == TERMINATED)
-            set_error( STATUS_ACCESS_DENIED );
+            set_error( STATUS_THREAD_IS_TERMINATING );
         else if (set_thread_affinity( thread, req->affinity ))
             file_set_error();
     }




More information about the wine-cvs mailing list