[PATCH 1/2] ntdll/tests: Add some tests for thread suspend/resume.

Dmitry Timoshkov dmitry at baikal.ru
Fri Apr 12 02:37:40 CDT 2019


Nikolay Sivov <nsivov at codeweavers.com> wrote:

> +static NTSTATUS  (WINAPI *pNtSuspendThread)(HANDLE thread, ULONG *count);
> +static NTSTATUS  (WINAPI *pNtResumeThread)(HANDLE thread, ULONG *count);
...
> +    pNtSuspendThread = (void *)GetProcAddress( hntdll, "NtSuspendThread" );
> +    pNtResumeThread = (void *)GetProcAddress( hntdll, "NtResumeThread" );

It would be helpful to actually use them in the test. Also it's would be
interesting to create a suspended thread, and perform same kind of tests
as with a not suspended one.

-- 
Dmitry.



More information about the wine-devel mailing list