Reinhard Karcher : user32: Speed improvement for 16bit comm
support.
Francois Gouget
fgouget at free.fr
Thu Jan 4 05:48:51 CST 2007
On Wed, 3 Jan 2007, Alexandre Julliard wrote:
[...]
> Commit: dff43b732b10e603f3aee38db2f684dc7404aa4e
[...]
> user32: Speed improvement for 16bit comm support.
[...]
> stol = (unsigned char *)COM[cid].unknown + COMM_MSR_OFFSET;
> COMM_MSRUpdate( ptr->handle, stol );
>
> - if (lpStat) {
> - lpStat->status = 0;
> -
> + if (lpStat) {
> + lpStat->status = 0;
> SleepEx(1,TRUE);
>
> lpStat->cbOutQue = comm_outbuf(ptr);
As far as I can see this patch only contains whitespace changes (and I'm
not sure they are correct). How can it improve performance? Probably
something got lost in the way...
--
Francois Gouget <fgouget at free.fr> http://fgouget.free.fr/
Before you criticize someone, walk a mile in his shoes.
That way, if he gets angry, he'll be a mile away - and barefoot.
More information about the wine-devel
mailing list