Hi,
The issue is not thread related. It is cause by the ReadFile call, and the
code that supports data thus received -- only a single byte is returned by
this call (as written) each time it is executed. The changes that I have
implemented create a receive FIFO depth of 1024 bytes. This receive FIFO
may be filled very quickly because the new call to ReadFile returns as many
as 1024 bytes in a single call. On average, a call will return more than 30
bytes at 115 Kbps. Thus the real speed improvement, with high speed serial
data, is more than 30X.
Dick
--
Richard Grier (Microsoft Visual Basic MVP)
See
www.hardandsoftware.net for contact information.
Author of Visual Basic Programmer's Guide to Serial Communications, 3rd
Edition ISBN 1-890422-27-4 (391 pages) published February 2002.