Commit Graph

34 Commits

Author SHA1 Message Date
Alexandre Julliard 45693738e6 kernel: Added a basic test for exception handling in threads. 2005-12-05 20:43:33 +01:00
Alexandre Julliard e968628e6a Avoid setting the context before the thread has started running, it's
broken on most Windows versions.
2005-11-18 15:06:38 +00:00
Paul Vriens 17cbf1cbca Corrected last error information.
Make sure we can run the tests on win9x.
2005-11-15 12:00:41 +00:00
Eric Pouech ff6d30e485 Fix set_test_val function declaration to ensure stack is left
untouched.
2005-11-14 11:23:11 +00:00
Paul Vriens 7aa2e18c29 Add some extra error information. 2005-11-12 19:11:05 +00:00
Francois Gouget 2adb302a99 Add trailing '\n's to ok() and TRACE() calls. 2005-11-10 11:17:38 +00:00
Alexandre Julliard 73c72390f8 Fixed Get/SetThreadContext to work properly on suspended threads.
Added a test case.
2005-11-02 20:54:12 +00:00
Saulius Krasuckas f91b3ae3e4 Test CreateThread() for reception of NULL pointer to TID. 2005-10-28 10:41:57 +00:00
Saulius Krasuckas 02a810f10c Add a test for GetThreadExitCode.
Use GetModuleHandleA as kernel32 should be present on every system.
2005-10-28 09:40:09 +00:00
Alexandre Julliard 7c1925a0f3 Remove the 'L' suffix on a number of constants to avoid comparison
errors on 64-bit platforms.
2005-09-13 15:00:32 +00:00
Francois Gouget bcd56fe0e5 Assorted spelling fixes. 2005-08-12 18:22:06 +00:00
Felix Nawothnig 3ccc0a6265 Fix remaining thread tests on WinME. 2005-07-30 19:03:46 +00:00
Felix Nawothnig 841b40896c Fix thread tests on WinME. 2005-07-25 11:07:54 +00:00
Mike McCormack fc51a2680a Fix declaration warnings in the test cases. 2005-06-14 11:40:04 +00:00
Jakob Eriksson ec6f9ad356 Fix thread affinity test for SMP machines. 2005-03-25 10:25:11 +00:00
Alexandre Julliard d0ee9f9309 Avoid spaces before preprocessor directives, that's not portable. 2005-03-02 12:23:20 +00:00
Rein Klazes 3714a39867 Correct cases where arguments of ok() calls depend on the order in
which they are evaluated.
2004-12-27 17:26:37 +00:00
Eric Pouech 4056d7ef8c Fixed some errors in function prototypes. 2004-12-13 21:19:01 +00:00
Robert Shearman 84eaaa168f Fix broken thread start routines. 2004-11-03 22:18:44 +00:00
Hans Leidekker 70d400adf6 Fix signed/unsigned comparison warnings. 2004-08-09 23:42:19 +00:00
Francois Gouget ad5ff7ceeb Assorted spelling and case fixes. 2004-02-09 22:07:42 +00:00
Francois Gouget afd3c257bd Add trailing '\n's to ok() calls. 2004-02-06 05:24:34 +00:00
Rolf Kalbermatter 55bcaec4f4 Remove <ntstatus.h> to allow compilation with MS PSDK headers. 2003-09-16 01:18:53 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Francois Gouget c5f775a9c7 Typos/spelling fixes. 2003-06-18 03:30:39 +00:00
Francois Gouget 2a56437f72 {Get,Set}ThreadPriorityBoost are stubs on Win98. 2003-01-20 23:26:09 +00:00
Francois Gouget 952407b1e0 {Get,Set}ThreadPriorityBoost and SetThreadIdealProcessor are missing
on Win95 -> use GetProcAddress.
Cleanup the handling of OpenThread.
Check SuspendThread after a thread terminates (needed by Ipix).
Remove unnecessary version checks (check for
ERROR_CALL_NOT_IMPLEMENTED and similar instead).
Cleanup casts, signed/unsigned comparisons.
2002-11-30 19:03:19 +00:00
Alexandre Julliard 5926cea79f Partially implemented kernel/user times in GetThreadTimes (based on a
patch by Ryan Cumming).
2002-11-30 01:56:56 +00:00
Alexandre Julliard 2696ae4c4b Moved some GetThreadTimes tests out of the todo block. 2002-11-25 01:34:23 +00:00
Jeff Smith 28f14ba5ff Spelling corrections. 2002-10-09 18:14:24 +00:00
Alexandre Julliard 75de8fe16c Added printf format checking to the ok() and trace() macros, and fixed
the resulting warnings.
2002-06-22 00:08:10 +00:00
Francois Gouget 4c314000b9 Make the tests compile with Visual C++. 2002-05-23 02:40:07 +00:00
Geoffrey Hausheer f31c3e3898 Cleaned up a bit, removed todos for OpenThread, avoid TerminateThread
race.
2002-04-03 02:33:13 +00:00
Geoffrey Hausheer 03f4e22327 Added test for thread functions. 2002-04-02 19:37:15 +00:00