> I've been recycling the drawable, but I need to keep a cross-process > lock there; what's a good way to keep a lock in P9P?
I don't know how you keep a cross-process lock anywhere. In Plan 9, rio provides the terminal windows - there is no 9term. If an app opens /dev/mouse (which rio provides), then rio knows an app is taking over the window and stops doing the terminal things for that window. You can't run sam inside acme - only one program can open /dev/mouse at a time. I'm less worried about sam inside acme than I am about programs fighting over windows because of lack of coordination. It sounds like this requires significant coordination between the programs. Russ
