A couple garbage collector questions

Scottie me at nospam.net
Thu Apr 5 02:07:13 EDT 2001


"Tim Peters" <tim.one at home.com> wrote in message
news:mailman.986419387.4136.python-list at python.org...
>...Sure, depending on the size of the integer.  But Python uses C's "int"
type
> for refcounts, and offhand I don't know of any platform on which read or
> write of a C int is interruptible....

a non=naturally aligned int may straddle a page boundary, and a
page fault on half of the store might happen.  I'm not sure all memory
refrains from the write until both pages are updatable.  If so, the page
fault can escelate to a deschedule which can.....

-Scott David Daniels






More information about the Python-list mailing list