Dan Sugalski <[EMAIL PROTECTED]> wrote:

One more question:

>=head2 Guarantees

... doesn't have anything about user data integrity. So when 2 threads
access a PerlNum, they could get a mixture of the typically 2 involved
words.

But:

>=item All shared PMCs must have a threadsafe vtable

> The first thing that any vtable function of a shared PMC must do is to
> aquire the mutex of the PMCs in its parameter list

... seems to indicate that even whole ops like add P,P,P are atomic.

And how does user level locking play together with that?

leo

Reply via email to