In the above code, will the primordial thread ever print a list that
isn't exactly (1 2 3) or (iota 1e8)?
The assignment itself is fully atomic, as is the destructive
modification of any single data-cell like pair-cells, vector-elements
or record-structure slots.
Even so, code that uses
From: Bryan Vicknair bryanv...@gmail.com
Subject: [Chicken-users] set! atomic?
Date: Tue, 4 Jun 2013 19:15:52 -0700
SRFI-18 states:
Read and write operations on the store (such as reading and writing a
variable, an element of a vector or a string) are not required to be atomic.
It is
Yes, many mutate operations are not srfi-18 threads aware, in my
(possibly incorrect) experience.
Also, just as an FYI, Chicken's SRFI-18 threads are not system threads,
and so cannot avail themselves of additional processors. If real
parallel operations are your goal then you'll want to look