[Python-Dev] deja-vu .. python locking (original) (raw)

"Martin v. Löwis" martin at v.loewis.de
Mon Sep 18 16:46:40 CEST 2006


Martin Devera schrieb:

RCU like locking Solution I have in mind is similar to RCU. In Python we have quiscent state - when a thread returns to main loop of interpreter.

There might be a terminology problem here. RCU is read-copy-update, right? I fail to see the copy (copy data structure to be modified) and update (replace original pointer with pointer to copy) part. Do this play a role in that scheme? If so, what specific structure is copied for, say, a list or a dict?

This confusion makes it very difficult for me to understand your proposal, so I can't comment much on it. If you think it could work, just go ahead and create an implementation.

Regards, Martin



More information about the Python-Dev mailing list