CreateThread timing behaviour (Bug 15323 affecting Warhammer Online)

Paul TBBle Hampson Paul.Hampson at Pobox.com
Mon Mar 2 06:19:42 CST 2009


On Mon, Mar 02, 2009 at 06:51:06AM +0200, Pauli Nieminen wrote:
> There seems to be at least partial synchronization for dll loading but
> threading part doesn't include this lock. It seems like wine doesn't
> need it so maybe it is enough to just simulate windows with following
> small patch.

> disclaimer: I didn't test this so might not be complete solution. If
> it isn't enough then you could try add lock calls to create thread and
> exit thread paths too.

[patch]

This just caused all the threads and processes to fail to start, locking
on the main process or something.

I'll play with this further if I have time, barring further comment on
this thread, see if I can confirm that the behaviour I'm seeing is due
to the code I'm looking at being somehow inside the dll attach code.

-- 
-----------------------------------------------------------
Paul "TBBle" Hampson, B.Sc, LPI, MCSE
Very-later-year Asian Studies student, ANU
The Boss, Bubblesworth Pty Ltd (ABN: 51 095 284 361)
Paul.Hampson at Pobox.com

Of course Pacman didn't influence us as kids. If it did,
we'd be running around in darkened rooms, popping pills and
listening to repetitive music.
 -- Kristian Wilson, Nintendo, Inc, 1989

License: http://creativecommons.org/licenses/by/2.5/au/
-----------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20090302/8f5dab65/attachment.pgp 


More information about the wine-devel mailing list