On 09/28/2010 10:40 PM, Felipe Monteiro de Carvalho wrote:
About threading one can use TThread which is cross-platform
Doing the communication completely in a TThread is doable just with
same. But in the end you need the data in the main thread. Here you need
thread synchronization which is not (perfectly) cross-platform.
AsyncPro fires all it's events in the main thread, so the user
programmer does not need to bother with threads and thread
communication. The threads are just internal in AsyncPro. Thus (provided
same does works correctly) the user pert is inherently thread safe, The
perfect "Object-Pascal" way to handle serial (and TCP/IP) communication.
-Michael
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus