[Wine] Wine + serial port basically hangs system

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Mon May 8 11:13:07 CDT 2006


>>>>> "Dan" == Dan Armbrust <daniel.armbrust.list at gmail.com> writes:

    Dan> Uwe Bonnes wrote:
    >>  It can also be that my WaitCommEvent Implementation in kernel/comm.c
    >> is poorly written.  For every WaitCommEvent call of the application,
    >> a thread is created if the condition is no met immediate. Can you run
    >> a relay log and count how many WaitCommEvent calls the application
    >> does?

    Dan> Sure, just let me know how (sorry - I don't know what a relay log
    Dan> is)

For tcsh:
"env WINEDEBUG=+relay wine <programm.exe> >& /tmp/wine.debug"

grep WaitCommEvent /tmp/wine.debug|wc

gives you twice the number of calls to WaitCommEvent, as entry and exit are
logged.

Bye
-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------



More information about the wine-users mailing list