Ok. I've got the basic dps context operators appearing to work acceptably.
mark obj0..objn proc fork context
context join mark obj0..objn
- yield -
context detach -
I still need to learn how to mutex data structures work. :(
- lock lock
create lock object
lock proc monitor -
execute proc while holding lock
- condition condition
create condition object
lock condition wait -
release lock, wait for condition, reacquire lock
condition notify -
resume contexts waiting for condition