ownership of points (was: New to LinuxPLC)


Thread Starter

Jiri Baum

[email protected]:
> The project is in a brainstorming phase. Everybody is contributing with
> ideas and everything is allowed, even multiple ownership of outputs and other crazy things.

Heh, I think multiple ownership was me, and it was intended to be of the "We'll Do It Later" category. But on better consideration, static ownership is easier to do than not, and semaphore-based ownership is not much harder.

So the conclusion was that all points - inputs, outputs, internal coils - will have enforced ownership. Anything that doesn't own a point can access it read-only, but only the owner can write it.

(Yes, I was going to volunteer to write this, but Simon Martin beat me to it. I can still do it if Simon would rather not - he should be back in a
couple of days.)

Jiri Baum <[email protected]>
On the Internet, nobody knows if you are a @{[@{[open(0),<0>]}-1]}-line
perl script...

LinuxPLC mailing list
[email protected]