2010/9/28 Bo Berglund <[email protected]>:
>
> Since I am used to having event driven serial communication my question
> is really twofold:
>
> 1) Is serial communication with events not possible in FPC on Linux?
>
> 2) How can one use blocking reads when there is no way to know exactly when
> data will arrive? Everything else will stop when waiting for data, right?
>

Hi,

I use threaded and event-driven serial port communication all day with
FPC and I did not have to write anything.
Have a look at the great CPortLaz library

http://sourceforge.net/projects/cportlaz/

It also has a few lazarus components, but I easily removed them from
the source code to make it a FPC-only library.

Cheers,

  Roberto

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to