Thread tests failure on Windows

Paul Vriens Paul.Vriens at xs4all.nl
Sun Nov 20 03:52:30 CST 2005


On Thu, 2005-11-17 at 13:51 +0100, Paul Vriens wrote:
> Hi,
> 
> I've not been able to get the kernel thread tests working on windows. The
> only thing I've found is that changing thread.c:
> 
>     /* simulate a call to set_test_val(10) */
> #if 0
>     stack = (int *)ctx.Esp;
>     stack[-1] = 10;
>     stack[-2] = ctx.Eip;
>     ctx.Esp -= 2 * sizeof(int *);
>     ctx.Eip = (DWORD)set_test_val;
> #endif
> 
> or even
> 
> #if 0
>     ctx.Eip = (DWORD)set_test_val;
> #endif
> 
> makes the test run instead of crashing. They still fail, but only for the
> last ok().
> 
> Unfortunatly this is way over my head. So I'd appreciate if someone could
> have a look.
> 
> What worries me (maybe needless) is that the test runs OK on Wine. So
> either we're way better or we implement things differently.
> 

http://cvs.winehq.org/patch.py?id=21337

so we were better after all :-)

Paul.





More information about the wine-devel mailing list