Synchronous producer-consumer transactions for real-time distributed process control