Download Full Concurrent Programming Algorithms Principles and Foundations 1st Edition Michel Raynal PDF All Chapters
Download Full Concurrent Programming Algorithms Principles and Foundations 1st Edition Michel Raynal PDF All Chapters
com
https://ebookmeta.com/product/concurrent-programming-
algorithms-principles-and-foundations-1st-edition-michel-
raynal/
OR CLICK BUTTON
DOWNLOAD NOW
Michel Raynal
Concurrent Programming:
Algorithms, Principles,
and Foundations
123
Michel Raynal
IRISA-ISTIC
Université de Rennes 1
Rennes Cedex
France
ISBN 978-3-642-32026-2
ISBN 978-3-642-32027-9
(eBook)
DOI 10.1007/978-3-642-32027-9
While the advice and information in this book are believed to be true
and accurate at the date of publication, neither the authors nor the
editors nor the publisher can accept any legal responsibility for any
errors or omissions that may be made. The publisher makes no
warranty, express or implied, with respect to the material contained
herein.
Preface
… Ce jour-là j’ai bien cru tenir quelque chose et que ma vie s’en
trouverait changée.
ˆ toyer, à combattre,
vi
Preface
What synchronization is
A concurrent program is a program made up of several entities
(processes, peers, sensors, nodes, etc.) that cooperate to a common
goal. This cooperation is made
requires not only great care but also knowledge of its scientific
foundations.
systems.
Preface
vii
in the Afterword.
Content
The book is composed of six parts. Three parts are more focused on
base
synchronization mechanisms and the construction of concurrent
objects, while the other three parts are more focused on the
foundations of synchronization. (A
noteworthy feature of the book is that nearly all the algorithms that
are presented are proved.)
• After the reader has become familiar with base concepts and
mechanisms suited
issue addressed in Part III (and all the rest of the book); namely, it
considers that cooperating entities can halt prematurely (crash
failure). To face the net effect of asynchrony and failures, it
introduces the notions of mutex-freedom and associated progress
conditions such as obstruction-freedom, non-blocking, and wait-
viii
Preface
The rest of Part III focuses on hybrid concurrent objects (Chap. 6),
wait-free implementations of paradigmatic concurrent objects such
as counters and store-collect objects (Chap. 7), snapshot objects
(Chap. 8), and renaming objects
(Chap. 9).
This part shows that, while atomic read/write registers are easier to
use than safe read/write registers, they are not more powerful from
a computability point-of-view.
which are not reliable (Chap. 15). Then, it presents the notion of a
consensus number and the associated consensus hierarchy which
allows the computability
power of concurrent objects to be ranked (Chap. 16). Finally, the last
chapter of the book focuses on the wait-free implementation of
consensus objects from
To have a more complete feeling of the spirit of this book, the reader
can also
consult the section ‘‘What Was the Aim of This Book’’ in the
Afterword) which
describes what it is hoped has been learned from this book. Each
chapter starts
technical content.
Preface
ix
Acknowledgments
my Latex man when writing this book, and Ronan Nugent (Springer)
for his
Last but not least (and maybe most importantly), I also want to
thank all the
Contents
Part I
Lock-Based Synchronization
1.1
Multiprocess Program . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.1.1
The Concept of a Sequential Process. . . . . . . . . . . .
1.1.2
1.2
Process Synchronization . . . . . . . . . . . . . . . . . . . . . . . . . .
1.2.1
1.2.2
Synchronization . . . . . . . . . . . . . . . . . . . . . . . . . .
1.2.3
Synchronization: Competition. . . . . . . . . . . . . . . . .
1.2.4
Synchronization: Cooperation . . . . . . . . . . . . . . . . .
7
1.2.5
Is to Preserve Invariants . . . . . . . . . . . . . . . . . . . .
1.3
1.3.1
1.3.2
Lock Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11
1.3.3
12
1.4
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
13
1.5
Other documents randomly have
different content
X
CHARLES ELIOT NORTON
CHARLES ELIOT NORTON
It is a tradition in the city of Cambridge, Massachusetts, that
Howells used to exult, on arriving from his Western birthplace, in
having at length met for the first time, in Charles Eliot Norton, the
only man he had ever seen who had been cultivated up to the
highest point of which he was capable. To this the verdict of all
Cambridge readily assented. What the neighbors could not at that
time foresee was that the man thus praised would ever live to be an
octogenarian, or that in doing so he would share those attractions of
constantly increasing mildness and courtesy which are so often justly
claimed for advancing years. There was in him, at an earlier period,
a certain amount of visible self-will, and a certain impatience with
those who dissented from him,—he would not have been his father’s
son had it been otherwise. But these qualities diminished, and he
grew serener and more patient with others as the years went on.
Happy is he who has lived long enough to say with Goethe, “It is only
necessary to grow old to become more indulgent. I see no fault
committed which I have not committed myself.” This milder and more
genial spirit increased constantly as Norton grew older, until it served
at last only to make his high-bred nature more attractive.
He was born in Cambridge, November 16, 1827, and died in the
very house where he was born, October 21, 1908. He was
descended, like several other New England authors, from a line of
Puritan clergymen. He was the son of Professor Andrews Norton, of
Harvard University, who was descended from the Rev. John Norton,
born in Ipswich, Massachusetts, in 1651. The mother of the latter
was the daughter of Emanuel Downing, and the niece of Governor
John Winthrop. Mrs. Bradstreet, the well-known Puritan poetess,
was also an ancestress of Charles Norton. His mother, Mrs. Caroline
(Eliot) Norton, had also her ancestry among the most cultivated
families in New England, the name of Eliot having been prominent
for successive generations in connection with Harvard College. His
parents had a large and beautiful estate in Cambridge, and were (if
my memory serves me right) the one family in Cambridge that kept a
carriage,—a fact the more impressed upon remembrance because it
bore the initials “A. & C. N.” upon the panels, the only instance I
have ever seen in which the two joint proprietorships were thus
expressed. This, and the fact that I learned by heart in childhood
Wordsworth’s poem, “The White Doe of Rylstone, or The Fate of the
Nortons,” imparted to my youthful mind a slight feeling of romance
about the Cambridge household of that name, which was not
impaired by the fact that our parents on both sides were intimate
friends, that we lived in the same street (now called Kirkland Street),
and that I went to dancing-school at the Norton house. It is perhaps
humiliating to add that I disgraced myself on the very first day by
cutting off little Charlie’s front hair as a preliminary to the dancing
lesson.
The elder Professor Norton was one of the most marked
characters in Cambridge, and, although never a clergyman, was
professor in the Theological School. It was said of him by George
Ripley, with whom he had a bitter contest, that “He often expressed
rash and hasty judgments in regard to the labors of recent or
contemporary scholars, consulting his prejudices, as it would seem,
rather than competent authority. But in his own immediate
department of sacred learning he is entitled to the praise of sobriety
of thought and profoundness of investigation” (Frothingham’s
“Ripley,” 105). He was also a man of unusual literary tastes, and his
“Select Journal of Foreign Periodical Literature,” although too early
discontinued, took distinctly the lead of all American literary journals
up to that time.
The very beginning of Charles Norton’s career would seem at first
sight singularly in contrast with his later pursuits, and yet doubtless
had formed, in some respects, an excellent preparation for them.
Graduating at Harvard in 1846, and taking a fair rank at graduation,
he was soon after sent into a Boston counting-house to gain a
knowledge of the East India trade. In 1849 he went as supercargo on
a merchant ship bound for India, in which country he traveled
extensively, and returned home through Europe in 1851. There are
few more interesting studies in the development of literary
individuality than are to be found in the successive works bearing
Norton’s name, as one looks through the list of them in the Harvard
Library. The youth who entered upon literature anonymously, at the
age of twenty-five, as a compiler of hymns under the title of “Five
Christmas Hymns” in 1852, and followed this by “A Book of Hymns
for Young Persons” in 1854, did not even flinch from printing the
tragically Calvinistic verse which closes Addison’s famous hymn,
beginning “The Lord my pasture shall prepare,” with a conclusion so
formidable as death’s “gloomy horrors” and “dreadful shade.” In 1855
he edited, with Dr. Ezra Abbot, his father’s translations of the
Gospels with notes (2 vols.), and his “Evidences of the Genuineness
of the Gospels” (3 vols.). Charles Norton made further visits to
Europe in 1855-57, and again resided there from 1868 until 1873;
during which time his rapidly expanding literary acquaintanceships
quite weaned his mind from the early atmosphere of theology.
Although one of the writers in the very first number of the “Atlantic
Monthly,” he had no direct part in its planning. He wrote to me
(January 9, 1899), “I am sorry that I can tell you nothing about the
primordia of the ‘Atlantic.’ I was in Europe in 1856-57, whence I
brought home some MSS. for the new magazine.” It appears from
his later statement in the Anniversary Number that he had put all
these manuscripts by English authors in a trunk together, but that
this trunk and all the manuscripts were lost, except one accidentally
left unpacked, which was a prose paper by James Hannay on
Douglas Jerrold, “who is hardly,” as Norton justly says, “to be
reckoned among the immortals.” Hannay is yet more thoroughly
forgotten. But this inadequate service in respect to foreign material
was soon more than balanced, as one sees on tracing the list of
papers catalogued under Norton’s name in the Atlantic Index.
To appreciate the great variety and thorough preliminary
preparation of Norton’s mind, a student must take one of the early
volumes of the “Atlantic Monthly” and see how largely he was relied
upon for literary notices. If we examine, for instance, the fifth volume
(1860), we find in the first number a paper on Clough’s “Plutarch’s
Lives,” comprising ten pages of small print in double columns. There
then follow in the same volume papers on Hodson’s “Twelve Years of
a Soldier’s Life in India,” on “Friends in Council,” on Brooks’s
“Sermons,” on Trollope’s “West Indies and the Spanish Main,” on
“Captain John Brown,” on Vernon’s “Dante,” and one on “Model
Lodging-Houses in Boston.” When we remember that his “Notes of
Travel and Study in Italy” was also published in Boston that same
year, being reviewed by some one in a notice of two pages in this
same volume of the “Atlantic,” we may well ask who ever did more of
genuine literary work in the same amount of time. This was, of
course, before he became Professor in the college (1874), and his
preoccupation in that way, together with his continuous labor on his
translations of Dante, explains why there are comparatively few
entries under his name in Atlantic Indexes for later years. Again, he
and Lowell took charge of the “North American Review” in 1864, and
retained it until 1868, during which period Norton unquestionably
worked quite as hard as before, if we may judge by the collective
index to that periodical.
It is to be noticed, however, that his papers in the “North
American” are not merely graver and more prolonged, but less terse
and highly finished, than those in the “Atlantic”; while in the
development of his mind they show even greater freedom of
statement. He fearlessly lays down, for instance, the following
assertion, a very bold one for that period: “So far as the most
intelligent portion of society at the present day is concerned, the
Church in its actual constitution is an anachronism. Much of the
deepest and most religious life is led outside its wall, and there is a
constant and steady increase in those who not only find the claims of
the Church inconsistent with spiritual liberty, but also find its services
ill adapted to their wants.... It becomes more and more a simple
assemblage of persons gathered to go through with certain formal
ceremonies, the chief of which consists in listening to a man who is
seldom competent to teach.” It must be remembered that the
expression of such opinions to-day, when all his charges against the
actual Church may be found similarly stated by bishops and doctors
of divinity, must have produced a very different impression when
made forty years ago by a man of forty or thereabouts, who occupied
twenty pages in saying it, and rested in closing upon the calm basis,
“The true worship of God consists in the service of his children and
devotion to the common interests of men.” It may be that he who
wrote these words never held a regular pew in any church or
identified himself, on the other hand, with any public heretical
organization, even one so moderate as the Free Religious
Association. Yet the fact that he devoted his Sunday afternoons for
many years to talking and Scripture reading in a Hospital for
Incurables conducted by Roman Catholics perhaps showed that it
was safer to leave such a man to go on his own course and reach
the kingdom of heaven in his own way.
Norton never wrote about himself, if it could be avoided, unless his
recollections of early years, as read before the Cambridge Historical
Society, and reported in the second number of its proceedings, may
be regarded as an exception. Something nearest to this in literary
self-revelation is to be found, perhaps, in his work entitled “Letters of
John Ruskin,” published in 1904, and going back to his first invitation
from the elder Ruskin in 1855. This was on Norton’s first direct trip to
Europe, followed by a correspondence in which Ruskin writes to him,
February 25, 1861, “You have also done me no little good,” and
other phrases which show how this American, nine years younger
than himself, had already begun to influence that wayward mind.
Their correspondence was suspended, to be sure, by their difference
of attitude on the American Civil War; but it is pleasant to find that
after ten months of silence Ruskin wrote to Norton again, if bitterly.
Later still, we find successive letters addressed to Norton—now in
England again—in this loving gradation, “Dear Norton,” “My dearest
Norton,” “My dear Charles,” and “My dearest Charles,” and
thenceforth the contest is won. Not all completed, however, for in the
last years of life Ruskin addressed “Darling Charles,” and the last
words of his own writing traced in pencil “From your loving J. R.”
I have related especially this one touching tale of friendship,
because it was the climax of them all, and the best illustration of the
essential Americanism of Norton’s career.
He indeed afforded a peculiar and almost unique instance in New
England, not merely of a cultivated man who makes his home for life
in the house where he was born, but of one who has recognized for
life the peculiar associations of his boyhood and has found them still
the best. While Ruskin was pitying him for being doomed to wear out
his life in America, Norton with pleasure made his birthplace his
permanent abode, and fully recognized the attractions of the spot
where he was born. “What a fine microcosm,” he wrote to me
(January 9, 1899), “Cambridge and Boston and Concord made in the
40’s.” Norton affords in this respect a great contrast to his early
comrade, William Story, who shows himself in his letters wholly
detached from his native land, and finds nothing whatever in his
boyhood abode to attract him, although it was always found
attractive, not merely by Norton, but by Agassiz and Longfellow,
neither of whom was a native of Cambridge.
The only safeguard for a solitary literary workman lies in the
sequestered house without a telephone. This security belonged for
many years to Norton, until the needs of a growing family made him
a seller of land, a builder of a high-railed fence, and at last, but
reluctantly, a subscriber to the telephone. It needs but little study of
the cards bearing his name in the catalogue of the Harvard Library to
see on how enormous a scale his work has been done in this
seclusion. It is then only that one remembers his eight volumes of
delicately arranged scrap-books extending from 1861 to 1866, and
his six volumes of “Heart of Oak” selections for childhood. There
were comparatively few years of his maturer life during which he was
not editor of something, and there was also needed much
continuous labor in taking care of his personal library. When we
consider that he had the further responsibility of being practically the
literary executor or editor of several important men of letters, as of
Carlyle, Ruskin, Lowell, Curtis, and Clough; and that in each case
the work was done with absolute thoroughness; and that even in
summer he became the leading citizen of a country home and
personally engaged the public speakers who made his rural festals
famous, it is impossible not to draw the conclusion that no public
man in America surpassed the sequestered Norton in steadfastness
of labor.
It being made my duty in June, 1904, to read a poem before the
Harvard Phi Beta Kappa, I was tempted to include a few verses
about individual graduates, each of which was left, according to its
subject, for the audience to guess. The lines referring to Norton were
as follows:—