Concurrent Programming Algorithms Principles and Foundations 1st Edition Michel Raynal - The full ebook version is just one click away
Concurrent Programming Algorithms Principles and Foundations 1st Edition Michel Raynal - The full ebook version is just one click away
com
https://ebookmeta.com/product/concurrent-programming-
algorithms-principles-and-foundations-1st-edition-michel-
raynal/
OR CLICK HERE
DOWLOAD EBOOK
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
Bibliographic Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
13
15
2.1
15
2.1.1
Atomic Register . . . . . . . . . . . . . . . . . . . . . . . . . .
15
2.1.2
An Incremental Construction . . . . . . . . . . . . . . . . .
17
2.1.3
A Two-Process Algorithm . . . . . . . . . . . . . . . . . . .
19
2.1.4
22
2.1.5
A Tournament-Based Algorithm . . . . . . . . . . . . . . .
26
2.1.6
A Concurrency-Abortable Algorithm. . . . . . . . . . . .
29
xi
xii
Contents
2.1.7
33
2.1.8
37
2.2
2.2.1
39
2.2.2
40
2.2.3
Fetch&Add . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
44
2.3
45
2.3.1
45
2.3.2
48
2.3.3
A Bounded Mutex Algorithm . . . . . . . . . . . . . . . . .
53
2.4
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
58
2.5
Bibliographic Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
58
2.6
59
61
3.1
Concurrent Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
61
3.1.1
Concurrent Object. . . . . . . . . . . . . . . . . . . . . . . . .
61
3.1.2
Lock-Based Implementation . . . . . . . . . . . . . . . . . .
62
3.2
63
3.2.1
63
3.2.2
65
3.2.3
71
3.2.4
3.2.5
78
3.3
81
3.3.1
82
3.3.2
83
3.3.3
85
3.3.4
87
3.3.5
89
3.3.6
94
3.4
95
3.4.1
Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
96
3.4.2
Synchronization Problems . . . . . . . . . . . . . . . . . . .
97
3.4.3
A Semaphore-Based Implementation
of Path Expressions. . . . . . . . . . . . . . . . . . . . . . . .
98
3.5
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
101
3.6
Bibliographic Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
102
3.7
102
Contents
xiii
Part II
113
4.1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
113
4.2
Computation Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
115
4.2.1
115
4.2.2
Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
116
4.2.3
Histories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
117
4.2.4
Sequential History. . . . . . . . . . . . . . . . . . . . . . . . .
119
4.3
Atomicity. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
120
4.3.1
Legal History . . . . . . . . . . . . . . . . . . . . . . . . . . . .
120
4.3.2
121
4.3.3
123
4.4
Termination Property . . . . . . . . . . . . . . . . . . . . . . . . . . . .
125
4.4.1
125
4.4.2
Guaranteed Termination . . . . . . . . . . . . . . . . . . . .
127
4.5
Alternatives to Atomicity. . . . . . . . . . . . . . . . . . . . . . . . . .
128
4.5.1
Sequential Consistency . . . . . . . . . . . . . . . . . . . . .
128
4.5.2
Serializability . . . . . . . . . . . . . . . . . . . . . . . . . . . .
130
4.6
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
131
4.7
Bibliographic Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
132
Part III
Mutex-Free Synchronization
135
5.1
135
5.1.1
The Mutex-Freedom Notion . . . . . . . . . . . . . . . . . .
135
5.1.2
Progress Conditions . . . . . . . . . . . . . . . . . . . . . . .
137
5.1.3
140
5.2
140
5.2.1
Read/Write Registers. . . . . . . . . . . . . . . . . . . . . . .
140
5.2.2
Read/Write Registers. . . . . . . . . . . . . . . . . . . . . . .
143
5.2.3
A Remark on Compare&Swap: The ABA Problem. . .
145
5.2.4
146
5.2.5
Compare&Swap Registers . . . . . . . . . . . . . . . . . . .
150
5.2.6
152
xiv
Contents
5.3
155
5.3.1
Failure Detectors . . . . . . . . . . . . . . . . . . . . . . . . .
155
5.3.2
Object Implementations . . . . . . . . . . . . . . . . . . . . .
157
5.3.3
158
5.3.4
159
5.3.5
Manager Operation . . . . . . . . . . . . . . . . . . . . . . . .
161
5.4
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
162
5.5
Bibliographic Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
162
5.6
163
165
6.1
165
6.1.1
166
6.1.2
Implementation. . . . . . . . . . . . . . . . . . . . . . . . . . .
166
6.1.3
166
6.2
167
6.2.1
167
6.2.2
Implementation. . . . . . . . . . . . . . . . . . . . . . . . . . .
167
6.2.3
171
6.3
Contention-Sensitive Implementations . . . . . . . . . . . . . . . . .
172
6.3.1
Contention-Sensitive Binary Consensus . . . . . . . . . .
172
6.3.2
Double-Ended Queue . . . . . . . . . . . . . . . . . . . . . .
176
6.4
181
6.4.1
Concurrency-Abortable Object . . . . . . . . . . . . . . . .
181
6.4.2
to a Starvation-Free Object . . . . . . . . . . . . . . . . . .
183
6.5
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
186
6.6
Bibliographic Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
186
6.7
187
189
7.1
189
7.1.1
190
7.1.2
191
7.1.3
193
7.1.4
194
7.1.5
199
Contents
xv
7.2
Store-Collect Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
201
7.2.1
201
7.2.2
204
7.2.3
208
7.3
211
7.3.1
211
7.3.2
212
7.3.3
215
7.4
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
217
7.5
Bibliographic Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
217
7.6
Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
218
219
8.1
219
8.2
220
8.2.1
An Obstruction-Free Implementation. . . . . . . . . . . .
221
8.2.2
Wait-Freedom . . . . . . . . . . . . . . . . . . . . . . . . . . .
223
8.2.3
Containment Property . . . . . . . . . . . . . . . . . . . . . .
227
8.3
Many Processes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
228
8.4
230
8.4.1
231
8.4.2
An Implementation of a Multi-Writer
Snapshot Object . . . . . . . . . . . . . . . . . . . . . . . . . .
231
8.4.3
234
8.5
8.5.1
238
8.5.2
One-Shot Snapshot . . . . . . . . . . . . . . . . . . . . . . . .
238
8.5.3
An Implementation of One-Shot
240
8.5.4
244
8.6
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
247
8.7
Bibliographic Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
247
8.8
Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
248
xvi
Contents
249
9.1
Renaming Objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
249
9.1.1
249
9.1.2
250
9.1.3
Adaptive Implementations . . . . . . . . . . . . . . . . . . .
250
9.1.4
A Fundamental Result . . . . . . . . . . . . . . . . . . . . . .
251
9.1.5
Long-Lived Renaming. . . . . . . . . . . . . . . . . . . . . .
252
9.2
252
9.3
254
9.4
256
9.4.1
A Snapshot-Based Implementation . . . . . . . . . . . . .
256
Other documents randomly have
different content
The expression is originally Virgil's:
What relation has the hind to our Saviour? or what notion have we of a
panther's bible? If you say he means the church, how does the church
feed on lawns, or range in the forest? Let it be always a church, or always
the cloven-footed beast, for we cannot bear his shifting the scene every
line. If it is absurd in comedies to make a peasant talk in the strain of a
hero, or a country wench use the language of the court, how monstrous is
it to make a priest of a hind, and a parson of a panther? To bring them in
disputing with all the formalities and terms of the school? Though as to the
arguments themselves, those we confess are suited to the capacity of the
beasts; and if we would suppose a hind expressing herself about these
matters, she would talk at that rate."
The reader may be curious to see a specimen of the manner in which
these two applauded wits encountered Dryden's controversial poem, with
such eminent success, that a contemporary author has said, "that 'The City
and Country Mouse' ruined the reputation of the divine, as the 'Rehearsal'
ruined the reputation of the poet."[76] The plan is a dialogue between
Bayes, and Smith, and Johnson, his old friends in the "Rehearsal;" the
poet recites to them a new work, in which the Popish and English churches
are represented as the city and country mouse, the former spotted, the
latter milk-white. The following is a specimen both of the poetry and
dialogue:
"Now, would not you think she's going? but, egad, you're mistaken; you
shall hear a long argument about infallibility before she stir yet:
But here the White, by observation wise,
Who long on heaven had fixed her prying eyes,
With thoughtful countenance, and grave remark,
Said, "Or my judgment fails me, or 'tis dark;
Lest, therefore, we should stray, and not go right,
Through the brown horror of the starless night,
Hast thou Infallibility, that wight?"
Sternly the savage grinned, and thus replied,
"That mice may err, was never yet denied."
"That I deny," said the immortal dame,
"There is a guide,—Gad, I've forgot his name,—
Who lives in Heaven or Rome, the Lord knows where;
Had we but him, sweet-heart, we could not err.—
But hark ye, sister, this is but a whim,
For still we want a guide to find out him."
"Here, you see, I don't trouble myself to keep on the narration, but write
White speaks, or Dapple speaks, by the side. But when I get any noble
thought, which I envy a mouse should say, I clap it down in my own
person, with a poeta loquitur; which, take notice, is a surer sign of a fine
thing in my writings, than a hand in the margent anywhere else.—Well
now, says White,
"That's true, egad: Well said, White.—You see her adversary has nothing
to say for herself; and, therefore, to confirm the victory, she shall make a
simile.
Smith. Why, then, I find similes are as good after victory, as after a surprize.
Bayes. Every jot, egad; or rather better. Well, she can do it two ways;
either about emission or reception of light, or else about Epsom waters:
But I think the last is most familiar; therefore speak, my pretty one.
[Reads.]
"And, egad, she's in the right on't; but, mind now, she comes upon her
scoop. [Reads.]
All this I did, your arguments to try.
"And, egad, if they had been never so good, this next line confutes 'em.
[Reads.]
"There's the utile which ought to be in all poetry. Many a young Templar
will save his shilling by this stratagem of my mice.
Smith. Why, will any young Templar eat out the back of a coach?
Bayes. No, egad! But you'll grant, it is mighty natural for a mouse."—Hind
and Panther Transversed.
Such was the wit, which, bolstered up by the applause of party, was
deemed an unanswerable ridicule of Dryden's favourite poem.
[76] Preface to the Second Part of "The Reasons of Mr Bayes changing his
Religion."
[77] i.e. Dryden himself.
[78] I know not, however, but a critic might here also point out an
example of that discrepancy, which is censured by Johnson, and ridiculed
by Prior. The cause of dissatisfaction in the pigeon-house is, that the
proprietor chuses rather to feed upon the flesh of his domestic poultry,
than upon theirs; no very rational cause of mutiny on the part of the
doves.
[79] Butler, however, assigns the Bear-Garden as a type of my Mother Kirk;
and the resemblance is thus proved by Ralpho:
Synods are mystical bear-gardens,
Where elders, deputies, church-wardens,
And other members of the court,
Manage the Babylonish sport;
For prolocutor, scribe, and bear-ward,
Do differ only in a mere word;
Both are but several synagogues
Of carnal men, and bears, and dogs;
Both antichristian assemblies,
To mischief bent as far's in them lies;
Both slave and toil with fierce contests,
The one with men, the other beasts:
The difference is, the one fights with
The tongue, the other with the teeth;
And that they bait but bears in this,
In t'other souls and consciences.
[80] "In short, the whole poem, if it may deserve that name, is a piece of
deformed, arrogant nonsense, and self-contradiction, drest up in fine
language, like an ugly brazen-faced whore, peeping through the costly
trappings of a point de Venise cornet. I call it nonsense, because
unseasonable; and arrogant, because impertinent: For could Mr Bayes
have so little wit, to think himself a sufficient champion to decide the high
mysteries of faith and transubstantiation, and the nice disputes concerning
traditions and infallibility, in a discourse between "The Hind and the
Panther," which, undetermined hitherto, have exercised all the learning in
the world? Or, could he think the grand arcana of divinity a subject fit to
be handled in flourishing rhyme, by the author of "The Duke of Guise," or
"The Conquest of Peru," or "The Spanish Friar:" Doubts which Mr Bayes is
no more able to unfold, than Saffold to resolve a question in astrology. And
all this only as a tale to usher in his beloved character, and to shew the
excellency of his wit in abusing honest men. If these were his thoughts, as
we cannot rationally otherwise believe, seeing that no man of
understanding will undertake an enterprise, wherein he does not think
himself to have some advantage of his predecessors; then does this
romance, I say, of The Panther and the Hind, fall under the most fatal
censure of unseasonable folly and saucy impertinence. Nor can I think,
that the more solid, prudent, and learned persons of the Roman Church,
con him any thanks for laying the prophane fingers of a turn-coat upon the
altar of their sacred debates."—The Revolter, a tragi-comedy, acted
between The Hind and Panther and Religio Laici, &c. 1687.
[81] The following is the commencement of his "Reflections on the Hind
and Panther," in a letter to a friend, 1687:
"The present you have made me of "The Hind and Panther," is variously
talked of here in the country. Some wonder what kind of champion the
Roman Catholics have now gotten; for they have had divers ways of
representing themselves; but this of rhyming us to death, is altogether
new and unheard of, before Mr Bayes set about it; and, indeed, he hath
done it in the sparkishest poem that ever was seen. 'Tis true, he hath
written a great many things; but he never had such pure swiftness of
thought, as in this composition, nor such fiery flights of fancy. Such hath
always been his dramatical and scenical way of scribbling, that there was
no post nor pillar in the town exempt from the pasting up of the titles of
his plays; insomuch, that the footboys, for want of skill in reading, do now
(as we hear) often bring away, by mistake, the title of a new book against
the Church of England, instead of taking down the play for the afternoon.
Yet, if he did it well or handsomely, he might deserve some pardon; but,
alas! how ridiculously doth he appear in print for any religion, who hath
made it his business to laugh at all! How can he stand up for any mode of
worship, who hath been accustomed to bite, and spit his venom against
the very name thereof?
"Wherefore, I cannot but wish our adversaries joy on their new-converted
hero, Mr Bayes; whose principle it is to fight single with whole armies; and
this one quality he prefers before all the moral virtues put together. The
Roman Catholics may talk what they will, of their Bellarmine and Perrone,
their Hector and Achilles, and I know not who; but I desire them all, to
shew one such champion for the cause, as this Drawcansir: For he is the
man that kills whole nations at once; who, as he never wrote any thing,
that any one can imagine has ever been the practice of the world, so, in
his late endeavours to pen controversy, you shall hardly find one word to
the purpose. He is that accomplished person, who loves reasoning so
much in verse, and hath got a knack of writing it smoothly. The subject
(he treats of in this poem) did, in his opinion, require more than ordinary
spirit and flame; therefore, he supposed it to be too great for prose; for he
is too proud to creep servilely after sense; so that, in his verse, he soars
high above the reach of it. To do this, there is no need of brain, 'tis but
scanning right; the labour is in the finger, not in the head.
"However, if Mr Bayes would be pleased to abate a little of the exuberancy
of his fancy and wit; to dispense with his ornaments and superfluencies of
invention and satire, a man might consider, whether he should submit to
his argument; but take away the railing, and no argument remains; so that
one may beat the bush a whole day, and, after so much labour, only spring
a butterfly, or start a hedge-hog.
"For all this, is it not great pity to see a man, in the flower of his romantic
conceptions, in the full vigour of his studies on love and honour, to fall into
such a distraction, as to walk through the thorns and briars of controversy,
unless his confessor hath commanded it, as a penance for some past sins?
that a man, who hath read Don Quixote for the greatest part of his life,
should pretend to interpret the Bible, or trace the footsteps of tradition,
even in the darkest ages?"—Four Letters, &c.
[82] "To draw now to an end, Mr Bayes, I hear, has lately complained, at
Willis' Coffeehouse, of the ill usage he has met in the world; that whereas
he had the generosity and assurance to set his own name to his late piece
of polemic poetry, yet others, who have pretended to answer him, wanted
the breeding and civility to do the like: Now, because I would not willingly
disoblige a person of Mr Bayes's character, I do here fairly, and before all
the world, assure him that my name is Dudly Tomkinson, and that I live
within two miles of St Michael's Mount, in Cornwall, and have, in my time,
been both constable, church-warden, and overseer of the parish; by the
same token, that the little gallery next the belfry, the new motto about the
pulpit, the king's arms, the ten commandments, and the great sun-dial in
the church-yard, will transmit my name to all posterity. Furthermore, (if it
will do him any good at all) I can make a pretty shift to read without
spectacles; wear my own hair, which is somewhat inclining to red; have a
large mole on my left cheek; am mightily troubled with corns; and, what is
peculiar to my constitution, after half-a-dozen bottles of claret, which I
generally carry home every night from the tavern, I never fail of a stool or
two next morning; besides, use to smoke a pipe every day after dinner,
and afterwards steal a nap for an hour or two in the old wicker-chair near
the oven; take gentle purgatives spring and fall; and it has been my
custom, any time these sixteen years, (as all the parish can testify) to ride
in Gambadoes. Nay, to win the heart of him for ever, I invite him here,
before the courteous reader, to a country regale, (provided he will before
hand promise not to debauch my wife,) where he shall have sugar to his
roast beef, and vinegar to his butter; and lastly, to make him amends for
the tediousness of the journey, a parcel of relics to carry home with him,
which I believe can scarce be matched in the whole Christian world; but,
because I have no great fancy that way, I don't care if I part with them to
so worthy a person; they are as followeth:
"St Gregory's Ritual, bound up in the same calve's-skin that the old
gentleman, in St Luke, roasted at the return of his prodigal son.
"The quadrant that a Philistine tailor took the height of Goliah by, when he
made him his last suit of clothes; for the giant being a man of
extraordinary dimensions, it was impossible to do this in any other way
than your designers use when they take the height of a country-steeple,"
&c &c..—Reasons for Mr Bayes changing his Religion. See Preface.
[83] THE LAUREAT.
Jack Squab's history, in a little drawn,
Down to his evening from his morning dawn.
[84] "Tale of a Tub," first part. "Tommy Potts" is a silly popular ballad, for
which see Ritson's "Ancient Songs."
[85] The tumultuary joy of the sectaries, upon their first view of this
triumph over the church of England, led them into all the extravagancies of
loyalty, which used to be practised by their ancient enemies the Tories.
Addresses teeming with affection, and foaming with bombast, were poured
in upon King James from all corners of his dominions; Presbyterians,
Anabaptists, Quakers, Sectaries of all sorts and persuasions, strove to be
foremost in the race of gratitude. And when similar addresses came in
from corporations, who had been formerly anxious to shew their loyalty on
the subject of the Rye-house plot, the king's accession, and other
occasions of triumph to the Tories, the tone of these bodies also was
wonderfully changed; and, instead of raving against excluders, rebels,
regicides, republicans, and fanatics, whose hellish contrivances
endeavoured to destroy the safety of the kingdom, and the life of the king,
these same gentlemen mention the Sectaries as their brethren and fellow-
subjects, to whom the king, their common father, had been justly, liberally,
royally pleased to grant freedom of conscience, for which the addressers
offer their hearty and unfeigned thanks. These were the two classes of
persons, whom Dryden, as they had closed with the measures of
government, declares to be exempted from his satire. Those, therefore,
against whom it is avowedly directed, are first, the Church of England,
whose adherents saw her destruction aimed at through the pretence of
toleration. 2dly, Those Sectaries, who distrusted the boon which the king
presented, and feared that the consequences of this immediate indulgence
at the hands of an ancient enemy, would be purchased by future
persecution. These formed a body, small at first, but whose numbers daily
increased.
Among the numerous addresses which were presented to the court on this
occasion, there are two somewhat remarkable from the quality and
condition of the persons in whose name they are offered. The one is from
the persons engaged in the schemes of Shaftesbury and Monmouth, and
who set out by acknowledging their lives and fortunes forfeited to King
James; a singular instance of convicts offering their sentiments upon state
affairs. The other is from no less a corporation than the company of
London Cooks, which respectable persons declare their approbation of the
indulgence, upon a principle recognized in their profession, "the difference
of men's gusto, in religion, as in eatables;" and assure his majesty, that his
declaration "somewhat resembles the Almighty's manna, which suited
every man's palate." History of Addresses, pp. 106, 132.
[86] Most readers will, I think, acknowledge with me, the extreme
awkwardness with which Dryden apologizes, for hoping well of those
Sectaries, against whom he had so often discharged the utmost severity of
his pen. Yet there is much real truth in the observation, though the
compliment to the new allies of the Catholics is but a cold one. Many sects
have distinguished themselves by faction, fanaticism, and furious excess at
their rise, which, when their spirits have ceased to be agitated by novelty,
and exasperated by persecution, have subsided into quiet orderly classes
of citizens, only remarkable for some peculiarities of speculative doctrine.
[87] Alluding to the persecution of the Huguenots in France, after the
recall of the edict of Nantes.
[88] This phrase occurs in the address of the Ministers of the Gospel in
and about the city of London, commonly called Presbyterians: "Your
majesty's princely wisdom," say these reverend sycophants, "now rescues
us from our long sufferings, and by the same royal act restores God to the
empire over conscience." This it is to be too eloquent; when people set no
bounds to their rhetoric, it betrays them often into nonsense, and not
seldom into blasphemy.—History of Addresses, p. 107.
[89] A gentle insinuation, that, if the sectaries could renounce the
ordination by presbyteries or classes, in favour of the church of England, it
would require but a step or two farther to bring them to a conformity with
that of Rome.
[90] Who freed the Jews from their bondage, and gave them permission to
rebuild their city and temple.—See the Book of Esdras.
[91] In his ardour for extending the Catholic religion, James II. had
directed copies of the papers found in his brother's strongbox in favour of
that communion, with the copy of a paper by his first duchess, giving the
reasons for her conversion to that faith, to be printed, and circulated
through the kingdom. These papers were answered by the learned
Stillingfleet, then Dean of St Paul's. A Defence of the Papers was published
"by command," of which it appears, from the passage in the text, that our
author wrote the third part, which applies to the Duchess of York's paper.
Stillingfleet published a vindication of his answer, in which he attacks our
author with some severity. A full account of the controversy will be found
attached to Dryden's part of the Defence, among his prose works.
[92] In the controversy between Dryden and Stillingfleet, the former had
concluded his Defence of the Duchess of York's paper, by alleging, that
"among all the volumes of divinity written by the Protestants, there is not
one original treatise, at least that I have seen or heard of, which has
handled distinctly, and by itself, the Christian virtue of humility." This
Stillingfleet, in his reply, calls a "bare-faced assertion of a thing known to
be false;" for, "with-in a few years, besides what has been printed
formerly, such a book hath been published in London." Dryden, in the text,
replies to this allegation, that Duncombe's treatise, which he supposes to
be meant, is a translation from the Spanish of Rodriguez, therefore, not
originally a Protestant work. Montague, in the preface to "The Hind and
Panther Transversed" alleges, that Dryden has mistaken the name of the
author of the treatise alluded to; which was not, he asserts, Duncombe,
but Allen. See the matter more fully canvassed in a note on the original
passage, in "The Duchess of York's Paper Defended."
[93] Dryden is not quite candid in his statement. In Stillingfleet's answer to
the Duchess's paper, it is indeed called, the "paper said to be written by a
great lady;" but there is not another word upon the authority, which,
indeed, considering it was published under the king's immediate
inspection, could not be very decorously disputed. Dryden seizes upon this
phrase in his defence, and, coupling with it some expressions of the Bishop
of Winchester, he argues that it was the intention of these sons of the
church of England, to give the lie to their sovereign. In this vindication of
the answer, Stillingfleet thus expresses himself: "As to the main design of
the third paper, I declared, that I considered it, as it was supposed to
contain the reasons and motives of the conversion of so great a lady to the
church of Rome.
"But this gentleman has now eased me of the necessity of farther
considering it on that account. For he declares, that none of those motives
or reasons are to be found in the paper of her highness. Which he repeats
several times. 'She writ this paper, not as to the reasons she had herself
for changing, &c.' 'As for her reasons, they were only betwixt God and her
own soul, and the priest with whom she spoke at last.'
"And so my work is at an end as to her paper. For I never intended to
ransack the private papers or secret narratives of great persons; and I do
not in the least question the relation now given from so great authority, as
that he mentions of the passages concerning her; and therefore I have
nothing more to say as to what relates to the person of the duchess."
It is obvious that Dryden, probably finding the divine too hard for him on
the controversial part of the subject, affects to consider the dispute as
entirely limited to the authenticity of the paper, which it cannot be
supposed Stillingfleet ever seriously intended to impeach.
[94] Eleanor James, a lady who was at this period pleased to stand up as
a champion for the test, against the repeal which James had so deeply at
heart. This female theologian is mentioned in the "Remarks from the
country, upon the two Letters, relating to the convocation, and alterations
in the liturgy." "It is a thousand pities, so instructive and so eloquent
papers should ever fall under such an imputation, (of being too forward,
and solemn impertinence,) and be ranked among the scribblings of Eleanor
James, with this only advantage of having better language, whereas the
woman counsellor is judged to have the better meaning." Although Mrs
James's lucubrations were thus vilipended by the male disputants, one of
her own sex thought it necessary to enter the lists in opposition to her. See
Elizabeth Rone's short Answer to Eleanor James's Long Preamble, or
Vindication of the New Test:
Mrs James's work was entitled, "A Vindication of the Church of England, in
answer to a pamphlet, entitled, a New Test of the Church of England's
Loyalty." She was herself the wife of a printer, who left many books to the
library of Sion college. Mrs James's picture is preserved in the library, in
the full dress of a citizen's wife of that period. She survived her husband
many years, and carried on the printing business on her own account.—
Malone, Vol. III. p. 539.
[95] The Roman Catholic church.
[96] Note I.
[97] The Roman Catholic priests executed in England, at different times
since the Reformation, and regarded as martyrs and saints by those of
their communion.
[98] The Independents. See Note II.
[99] The Quakers. See Note III.
[100] Free-thinkers. See Note IV.
[101] Anabaptists. See Note V.
[102] Unitarians. See Note VI.
[103] See Introductory remarks.
[104] Note VII.
[105] Quasi By-land-er, an old word for a boat, used in coast navigation.
[106] Note VIII.
[107] Alluding to the classical ordination, which the Presbyterian church
has adopted, instead of that by Bishops.
[108] Geneva, the cradle of Calvinism. The territories of the little republic,
dum Troja fuit, were bounded by its ramparts and lake.
[109] Alluding to the recall of the Edict of Nantz, and persecution of the
Huguenots. See Note IX.
[110] Which is usually distinguished by an act of grace, or general pardon.
[111] Nimrod.
[112] Jesus Christ.
[113] King James II.
[114] Note X.
[115] Our author recollected his own Philidel in "King Arthur:"
[116] Henry the Eighth's passion for Anna Bullen led the way to the
Reformation.
[117] The marriage of the clergy, licensed by the Reformation.
[118] Worn out, or become hagard.
[119] A Popish advocate, in the controversy with Tennison, tells us
exultingly, "That Martin Luther himself, Dr T's excellent instrument, after
he had eat a feasting supper, and drank lutheranice, as the German
proverb has it, was called into another world at two o'clock in the night,
February 18, 1546." This was one of the reasons why his adversaries
alleged, that Martin Luther set sail for hell in the manner described by
Sterne, in his tale from Slawkenbergius.
[120] The king being owned the head of the church of England, contrary
to the doctrine of the other reformed churches.
[121] Phylacteries are little scrolls of parchment worn by the Jews on their
foreheads and wrists, inscribed with sentences from the law. They are
supposed, as is expressed by the phrase in the original, to have the virtue
of preserving the wearer from danger and evil.
[122] The Lutherans adopt the doctrine of consubstantiation; that is to
say, they believe, that, though the elements are not changed into the body
and blood of Christ by consecration, which is the Roman faith, yet the
participants, at the moment of communicating, do actually receive the real
body and blood. The Calvinists utterly deny the real presence in the
eucharist, and affirm, that the words of Christ were only symbolical. The
church of England announces a doctrine somewhat between these. See
Note XI.
[123] Note XI.
[124] Note XII.
[125] Alluding to the fate of the church and monarchy of England, which
fell together in the great rebellion. See Note XI.
[126] Resolved, i.e. dissolved.
[127] The Wolf, or Presbytery.—See note XIII.
[128] Note XIV.
[129] That is, if the church of England would be reconciled to Rome, she
should be gratified with a delegated portion of innate authority over the
rival sectaries; instead of being obliged to depend upon the civil power for
protection.
[130] Alluding to the exercise of the dispensing power, and the Declaration
of Indulgence.
[131] The ten-horned monster, in the Revelations, was usually explained
by the reformers as typical of the church of Rome.
[132] There was a classical superstition, that, if a wolf saw a man before
he saw the wolf, the person lost his voice:
——voxque Mærin
Jam fugit ipsa: lupi Mærin videre priores.
Dryden has adopted, in the text, the converse of this superstitious belief.
[133] Although the Roman Catholic plot was made the pretence of
persecuting the Papists in the first instance, yet the high-flying party of the
Church of England were also levelled at, and accused of being Tantivies,
Papists in masquerade, &c. &c.
[134] Hind and Panther Transversed.
[135] This office was usually held by the executioner, who, to this extent,
was a pluralist; and the change was chiefly made, to prevent the necessity
of producing that person in court, to the aggravation of the criminal's
terrors.
[136] "But separating this obliquity from the main intendment, the work
was vigorously carried on by the king and his counsellors, as appears
clearly by the doctrinals in the Book of Homilies, and by the practical part
of Christian piety, in the first public Liturgy, confirmed by act of parliament,
in the second and third year of the king; and in that act (and, which is
more, by Fox himself) affirmed to have been done by the especial aid of
the Holy Ghost. And here the business might have rested, if Catin's
pragmatical spirit had not interposed. He first began to quarrel at some
passages in this sacred liturgy, and afterwards never left soliciting the Lord
Protector, and practising by his agents on the court, the country, and the
universities, till he had laid the first foundation of the Zuinglian faction;
who laboured nothing more, than innovation both in doctrine and
discipline; to which they were encouraged by nothing more than some
improvident indulgence granted unto John A-Lasco; who, bringing with him
a mixt multitude of Poles and Germans, obtained the privilege of a church
for himself and his, distinct in government and forms of worship from the
church of England.
"This gave powerful animation to the Zuinglian gospellers, (as they are
called by Bishop Hooper, and some other writers) to practise first upon the
church; who being countenanced, if not headed, by the Earl of Warwick,
(who then began to undermine the Lord Protector,) first quarrelled the
episcopal habit, and afterwards inveighed against caps and surplices,
against gowns and tippets, but fell at last upon the altars, which were left
standing in all churches by the rules of liturgy. The touching on this string
made excellent music to most of the grandees of the court, who had
before cast many an envious eye on those costly hangings, that massy
plate, and other rich and precious utensils, which adorned those altars.
And what need all this waste? said Judas, when one poor chalice only, and
perhaps not that, might have served the turn. Besides, there was no small
spoil to be made of copes, in which the priest officiated at the holy
sacrament; some of them being made of cloth of tissue, of cloth of gold
and silver, or embroidered velvet; the meanest being made of silk, or satin,
with some decent trimming. And might not these be handsomely
converted into private use, to serve as carpets for their tables, coverlids to
their beds, or cushions to their chairs or windows. Thereupon some rude
people are encouraged under-hand to beat down some altars, which
makes way for an order of the council-table, to take down the rest, and set
up tables in their places; followed by a commission, to be executed in all
parts of the kingdom, for seizing on the premises to the use of the king."
[137] "Quo animo ipsum quoque Paulum dicere existimo, si potes liber fieri
utere potius, 1. Cor. 7. Quod eternum Dei concilium, patres nostri,
fortissimi viri, infracto animo secuti, miris victoriarum successibus ut
Sempachii," &c. And again, "Ipse Dominus libertatis author exstitit, et
honestam libertatem querentibus adest."—Pia et Amica Paranæsis ad
Suitensium rempublicam.
[138] Dalrymple's Memoirs, Vol. II. p. 108.
[139] The Hind and the Panther Transversed, p. 14.
[140] Alluding to the Popish Plot. See Note I.
[141] James II. then Duke of York, whom Shaftesbury and his party
involved in the odium of the plot.
[142] Plunket, the titular primate of Ireland, Whitebread, provincial of the
Jesuits, and several other Catholic priests, suffered for the alleged plot.
Derrick most absurdly supposes the passage to refer to the period of the
Civil War.
[143] Quarry signifies, properly, "dead game ready to be cut up by the
huntsman," which the French still call faire la curée. But it is often taken,
as in this passage, for the game in general. Vermin comprehends such wild
animals as are not game, foxes, polecats, and the like.
[144] Note II.
[145] The test-oath, against popery, in which transubstantiation is formally
disavowed. See Note III.
[146] There was a dispute among naturalists, whether sight was
accomplished per emissionem vel per receptionem specierum.
[147] Dolus versatur in generalibus, was an axiom of the schools.
[148] Note IV.
[149] The Catholics interpret our Saviour's promise, "that he would be with
the disciples to the end of the world," as applicable to their own church
exclusively.
[150] Note V.
[151] By the doctrine of consubstantiation.
[152] Alluding to Lucan's description of the Roman civil war.
[153] Note VI.
[154] See Note XIV. Part I. page 156.
[155] The gallows.
[156] By the Blatant Beast, we are generally to understand slander; see
Spenser's Legend of Courtesy. But it is here taken for the Wolf, or