1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 11:50:51 -08:00
Commit graph

517 commits

Author SHA1 Message Date
Gareth Rees
dce60f3ee6 Minor design improvements.
Copied from Perforce
 Change: 194075
2018-06-21 21:08:57 +01:00
Gareth Rees
fe9064011c Fix markup errors.
Copied from Perforce
 Change: 194070
2018-06-21 20:48:34 +01:00
Gareth Rees
11e6822edf Bring design.mps.sp.sol.depth.analysis up to date.
Copied from Perforce
 Change: 194012
2018-06-20 12:55:45 +01:00
Gareth Rees
2487cf46c1 Add history entry.
Copied from Perforce
 Change: 193943
2018-06-18 20:22:00 +01:00
Gareth Rees
e62c3dc0c5 Simplify the wasmarked protocol.
Copied from Perforce
 Change: 193940
2018-06-18 20:03:13 +01:00
Gareth Rees
4aa1ca1b2c Fix some rst errors.
Copied from Perforce
 Change: 193862
2018-06-16 19:10:33 +01:00
Gareth Rees
2e18fdbc88 Improve formatting of design docs.
Copied from Perforce
 Change: 193857
2018-06-16 18:48:50 +01:00
Gareth Rees
7a7c5e5a95 Procedure for adding a new smoke test.
Copied from Perforce
 Change: 193850
2018-06-15 16:00:09 +01:00
Gareth Rees
c4a840d676 Rename "mac os x" and "os x" to "macos", except for a few cases where for historical accuracy we want to continue to refer to the former name.
Copied from Perforce
 Change: 193821
2018-06-15 12:15:36 +01:00
Gareth Rees
0662e96899 Refactor atfork code to improve separation of concerns.
Copied from Perforce
 Change: 193806
2018-06-15 10:58:33 +01:00
Gareth Rees
a865019b13 Update design history. restore accidentally removed check.
Copied from Perforce
 Change: 193787
2018-06-14 17:55:03 +01:00
Gareth Rees
391c0bf671 Fix rst error; only need to flag forking thraed on macos.
Copied from Perforce
 Change: 193784
2018-06-14 17:50:29 +01:00
Gareth Rees
61e24c399a Take locks before fork(), release them in the parent and reinitialize them in the child.
Add forktest target to the Xcode project.
Write design for fork safety and cross-reference from the code.
Update release notes.

Copied from Perforce
 Change: 193760
2018-06-14 16:25:08 +01:00
Gareth Rees
169b8dcaf6 Avoid using deprecated function mps_fix and deprecated macro mps_fix in the test cases; use mps_fix12 instead.
Copied from Perforce
 Change: 193726
2018-06-13 13:59:14 +01:00
Gareth Rees
51986addd1 Avoid warning about duplicate definition of class functin.
Copied from Perforce
 Change: 193549
2018-02-12 16:39:16 +00:00
Gareth Rees
cccb1c1e3c Documentation improvements.
Copied from Perforce
 Change: 192905
 ServerID: perforce.ravenbrook.com
2017-02-18 09:38:15 +00:00
Gareth Rees
c14d96d9ec Update tag references in design documents so that they work in the design directory, and in the manual.
Copied from Perforce
 Change: 192748
 ServerID: perforce.ravenbrook.com
2016-11-11 10:20:02 +00:00
Gareth Rees
30d5a523b8 Remove sphinx markup, leaving pure rst.
Copied from Perforce
 Change: 192739
 ServerID: perforce.ravenbrook.com
2016-11-10 16:23:04 +00:00
Gareth Rees
9b24f5826a Move design.mps.finalize from old to current.
Copied from Perforce
 Change: 192663
 ServerID: perforce.ravenbrook.com
2016-10-20 13:59:21 +01:00
Gareth Rees
3389ec396f Add "cold end" and "hot end" to the glossary index.
Copied from Perforce
 Change: 192660
 ServerID: perforce.ravenbrook.com
2016-10-20 13:52:30 +01:00
Gareth Rees
1274e4aaf6 Remove design.mps.class-interface, merged into design.mps.pool.
Copied from Perforce
 Change: 192643
 ServerID: perforce.ravenbrook.com
2016-10-19 15:35:22 +01:00
Gareth Rees
0f4564a71b Merge design.mps.class-interface into design.mps.pool (as suggested by pekka p. pirinen on 1999-07-20).
Bring pool class method descriptions up to date.
Document bufferClass, bufferFill, bufferEmpty, totalSize, freeSize methods.
Document generic instance methods at design.mps.protocol.method.

Copied from Perforce
 Change: 192642
 ServerID: perforce.ravenbrook.com
2016-10-19 15:34:35 +01:00
Gareth Rees
84e59c626e Bring design.mps.message up to date and move it from old to current.
Copied from Perforce
 Change: 192625
 ServerID: perforce.ravenbrook.com
2016-10-18 22:35:13 +01:00
Gareth Rees
c07a54b388 Remove design documents for unsupported operating systems sunos, solaris and osf/1 (protsu, sso1al, vmo1, and vmso).
Update thread-safety and version-library design documents and move them from old to current.

Copied from Perforce
 Change: 192617
 ServerID: perforce.ravenbrook.com
2016-10-18 18:30:09 +01:00
Gareth Rees
c6cc188ce9 Bring design.mps.prmc up to date with recent changes.
Copied from Perforce
 Change: 192609
 ServerID: perforce.ravenbrook.com
2016-10-15 21:25:21 +01:00
Gareth Rees
52d40d2fed Remove unused functions landcreate and landdestroy.
Copied from Perforce
 Change: 192603
 ServerID: perforce.ravenbrook.com
2016-10-14 22:30:11 +01:00
Gareth Rees
6255d80714 Avoid warnings and errors when building the manual.
Add glossary entries for "protected" and "unprotected".

Copied from Perforce
 Change: 192598
 ServerID: perforce.ravenbrook.com
2016-10-14 22:08:51 +01:00
Gareth Rees
1a04431cff New modulefile prmcw3.c avoids duplication of code between prmcw3i3.c and prmcw3i6.c.
Implement MutatorContextCheck on Windows. Add AVERT(MutatorContext, context) in PoolAccess and other functions.
Document initialization functions MutatorContextInitFault and MutatorContextInitThread and implement them on Windows.
Add a union discriminator to MutatorContextStruct on Windows so that we don't accidentally try to get the stack pointer from a fault context, or the exception address from a thread context.

Copied from Perforce
 Change: 192567
 ServerID: perforce.ravenbrook.com
2016-10-14 11:53:26 +01:00
Gareth Rees
4457a77a07 Initialization and checking of mutatorcontext data structures.
New files prmcix.c and prmcxc.c avoid duplicated code.

Copied from Perforce
 Change: 192562
 ServerID: perforce.ravenbrook.com
2016-10-13 23:13:40 +01:00
Gareth Rees
0abb95e025 Use protsgix.c on linux and delete protli.c.
Copied from Perforce
 Change: 192556
 ServerID: perforce.ravenbrook.com
2016-10-13 21:24:04 +01:00
Gareth Rees
b4a3d0824b Rename the "protection mutator context" module to "mutator context" (this module handles mutator context decoding for both the protection module and the thread module).
Rename functions Prot{Can,}StepInstruction to MutatorContext{Can,}StepInstruction so that they follow the naming convention in guide.implc.naming.prefix.program.
Move mutator context declarations out of prot.h into new header prmc.h.
Correct .assume.null in a couple of places -- it's not safe for MutatorContextStepInstruction to return ResUNIMPL, instead MutatorContextCanStepInstruction should return FALSE.

Copied from Perforce
 Change: 192528
 ServerID: perforce.ravenbrook.com
2016-10-13 15:06:14 +01:00
Gareth Rees
437bf9c6a4 Rename mutatorfaultcontext to mutatorcontext because this data structure is not only used to store the context of a fault, but also to store the context of a thread that has been suspended.
Copied from Perforce
 Change: 192523
 ServerID: perforce.ravenbrook.com
2016-10-13 14:23:39 +01:00
Gareth Rees
d0ae56d7dd Rename prot{i3,i6}.c to prmc{i3,i6}.c because these files are part of the protection mutator context module.
Rename prmc{i3,i6}{fr,li,w3,xc}.c to prmc{fr,li,w3,xc}{i3,i6}.c for consistency of ordering of platform codes (OS before AR before CT).

Copied from Perforce
 Change: 192512
 ServerID: perforce.ravenbrook.com
2016-10-13 13:24:47 +01:00
Gareth Rees
a3b35aa0eb Design.mps.nailboard.limitations.reclaim was recorded as job003856 and fixed by change 186812, so remove it from the design doc.
Copied from Perforce
 Change: 192385
 ServerID: perforce.ravenbrook.com
2016-09-14 12:48:23 +01:00
Gareth Rees
d43cc4ef35 Fix problems noted in review.
Copied from Perforce
 Change: 192357
 ServerID: perforce.ravenbrook.com
2016-09-13 17:19:07 +01:00
Gareth Rees
be5db32120 Lockisheld implementation for generic ("ansi") locks.
When CONFIG_THREAD_SINGLE is defined, use the generic lock module rather than compiling out all lock calls via lock.h. (Otherwise test cases that check LockIsHeld will fail.)

Copied from Perforce
 Change: 192254
 ServerID: perforce.ravenbrook.com
2016-09-09 11:01:04 +01:00
Gareth Rees
01c13bf1b5 New functions mps_arena_busy and mps_arena_postmortem, plus test coverage.
Copied from Perforce
 Change: 192247
 ServerID: perforce.ravenbrook.com
2016-09-08 13:55:43 +01:00
Gareth Rees
cb41b91f19 Remove support for linux 2.4 and 2.5 (these versions used linuxthreads). linux is now supported from version 2.6 onwards (these versions use posix threads).
Copied from Perforce
 Change: 192240
 ServerID: perforce.ravenbrook.com
2016-09-08 11:36:02 +01:00
Gareth Rees
a42ef06b8d Catch-up merge from master sources to branch/2016-04-12/job004000.
Copied from Perforce
 Change: 192187
 ServerID: perforce.ravenbrook.com
2016-09-05 16:01:17 +01:00
Gareth Rees
ba8ac77fef Arenainit and arenafinish no longer exist under those names, and there is no longer anything special about them, so remove design documentation.
BufferFinishMethod and BufferDescribeMethod were removed, so remove the design documentation for them.

Copied from Perforce
 Change: 192179
 ServerID: perforce.ravenbrook.com
2016-09-05 15:33:57 +01:00
Gareth Rees
6932a51b2f New preprocessor constants config_pthreadext_sigsuspend and config_pthreadext_sigresume for configuring the signals used to suspend and resume threads.
Copied from Perforce
 Change: 192122
 ServerID: perforce.ravenbrook.com
2016-09-04 13:55:39 +01:00
Gareth Rees
c737a08bc2 Fix assertion text in the manual.
Place a cross-reference by each assertion the appears in the manual, to assist in keeping the manual up to date.

Copied from Perforce
 Change: 192097
 ServerID: perforce.ravenbrook.com
2016-09-02 14:11:08 +01:00
Gareth Rees
04a2891a67 Fix typos and other problems with the manual.
Copied from Perforce
 Change: 192091
 ServerID: perforce.ravenbrook.com
2016-09-02 13:25:11 +01:00
Gareth Rees
5e65f8dc6b Epoch now only counts flips in which objects might have moved.
Copied from Perforce
 Change: 191748
 ServerID: perforce.ravenbrook.com
2016-05-01 09:35:24 +01:00
Gareth Rees
82690aa532 Untabify.
Copied from Perforce
 Change: 191528
 ServerID: perforce.ravenbrook.com
2016-04-21 20:50:45 +01:00
Gareth Rees
613f001ec5 Catch-up merge from master sources to branch/2016-04-12/job004000.
Copied from Perforce
 Change: 191512
 ServerID: perforce.ravenbrook.com
2016-04-21 18:03:23 +01:00
Richard Brooksby
4be15a5b0b Catch-up merge from master sources to branch/2016-04-08/protidying.
Copied from Perforce
 Change: 191471
 ServerID: perforce.ravenbrook.com
2016-04-21 14:46:10 +01:00
Richard Brooksby
ebe1cfa9cc Minor clarification.
Copied from Perforce
 Change: 191437
 ServerID: perforce.ravenbrook.com
2016-04-21 11:10:18 +01:00
Richard Brooksby
e87ff3aa7c Responding to review by gdr <https://info.ravenbrook.com/mail/2016/04/21/09-36-07/0/>.
Copied from Perforce
 Change: 191432
 ServerID: perforce.ravenbrook.com
2016-04-21 10:56:35 +01:00
Gareth Rees
8868a011a7 Catch-up merge from master sources to branch/2016-04-12/job004000.
Copied from Perforce
 Change: 191429
 ServerID: perforce.ravenbrook.com
2016-04-21 10:52:18 +01:00