In our previous episode, Michael Schnell said: > > The very reason I use Synapse is that it DOES NOT use threads. > > Synapse is simple to use. Keep it so. > > Of course I don't vote for Synapse always using threads, but to provide > _additional_ functions / objects (maybe units) that work similar to > AsyncPro (TCP/IP and serial streams). Plus maybe more sophisticated > _additional_ objects that in internal threads handle complete protocols > and provide appropriate MainThread events to the user program.
E.g. TComport only starts an helper thread if you register receive events. If you do not, you can use it in a select/waitformultiple like way in a thread. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal