Reinhard Karcher : user32: Speed improvement for 16bit comm support.

Francois Gouget fgouget at free.fr
Thu Jan 4 09:09:11 CST 2007


On Thu, 4 Jan 2007, Francois Gouget wrote:

> 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...

Sorry about that. I see it's been fixed already.

-- 
Francois Gouget <fgouget at free.fr>              http://fgouget.free.fr/
     We are Pentium of Borg. You will be approximated. Division is futile.



More information about the wine-devel mailing list