server: Only commit SetThreadPriority if new priority is correct (try 3)

Alexandre Julliard julliard at winehq.org
Fri Jul 20 03:10:30 CDT 2007


"Matt Jones" <mattj at google.com> writes:

> Change SetThreadPriority to correctly handle invalid priority values
> From 40bcdbe07d2f5cc0e5de33512858625f940b9c8c Mon Sep 17 00:00:00 2001
> From: Matt Jones <mattj at google.com>
> Date: Tue, 17 Jul 2007 14:58:01 -0700
> Subject: [PATCH] server: Conform to SetThreadPriority check (only set priority if the new priority is valid), try 2

You most likely need to return an error for invalid values, and in any
case you have to check that in your test case.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list