SPUG: threading, atomicity and safeness
Joshua ben Jore
twists at gmail.com
Sat May 3 15:46:15 PDT 2008
On Sat, May 3, 2008 at 9:02 AM, Joshua ben Jore <twists at gmail.com> wrote:
> On Mon, Apr 28, 2008 at 2:47 PM, Fred Morris <m3047 at inwa.net> wrote:
> > "Atomicity" refers to an operation which simply cannot and will not be
> > interrupted.
Oh say, btw, those operations I listed are "atomic" in only some
senses. Two threads can and will overlap when executing each.
Typically their atomicity is relevant when considering signal
handling. That is, perl's safe signals are triggered only between each
operation. Each individual operation is just a C function and each may
possibly involve recursing into whole new runloops.
More information about the spug-list