Re: [fpc-pascal] Network mutex

2012-08-21 Thread Jorge Aldo G. de F. Junior
You could implement such a thing using my Pascal-Actor-Model classes. Simple TCP streams (or UDP with added guarantees) and a central actor that decides who use what. http://code.google.com/p/pascal-actor-model/ theres an udp sender/receiver actor that share a socket to send and receive messages

[fpc-pascal] Network mutex

2012-08-21 Thread Fabio Luis Girardi
Hi!! I'm searching about Network mutex/semaphore. The main idea is avoid multiple computers (running applications built with FPC) access at the same time a single network resource (like a PLC). The only solution at the moment is use a DB with transactions, but this is a non elegant solution. So,