1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 10:31:37 -08:00
Commit graph

12 commits

Author SHA1 Message Date
Gareth Rees
9a2d4390b5 Add discriminator to mutatorcontextstruct and implement mutatorcontextinitfault and mutatorcontextinitthread on posix/linux.
Copied from Perforce
 Change: 192577
 ServerID: perforce.ravenbrook.com
2016-10-14 12:39:50 +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
a4064881dc In protsgix.c, construct a mutatorcontext object and pass it to arenaaccess.
Copied from Perforce
 Change: 192550
 ServerID: perforce.ravenbrook.com
2016-10-13 20:12:32 +01:00
Gareth Rees
2efed004c6 Fix comments in the protection implementations (it looks as if these were copied and then not modified) and bring discussion of supported platforms up to date. add file guards where missing.
Copied from Perforce
 Change: 187313
 ServerID: perforce.ravenbrook.com
2014-10-21 15:10:42 +01:00
Gareth Rees
76bad5eee3 Protgranularity is the same on all unixes, so only need one implementation.
Copied from Perforce
 Change: 186761
 ServerID: perforce.ravenbrook.com
2014-07-01 11:21:39 +01:00
Gareth Rees
a11bc59b9c Fix build on freebsd.
Copied from Perforce
 Change: 186760
 ServerID: perforce.ravenbrook.com
2014-07-01 11:07:42 +01:00
Gareth Rees
84cd92ab89 Improve clarity of product configuration so that names more explicitly indicate what they do:
* CONFIG_POLL_NONE (because the user-visible consequence is that polling is no longer supported; was CONFIG_PROTECTION_NONE).
* DISABLE_LOCKS (was THREAD_SINGLE).
* DISABLE_SHIELD (was THREAD_SINGLE && PROTECTION_NONE)
* DISABLE_REMEMBERED_SET (was PROTECTION_NONE)
When the shield is disabled, ArenaLeave asserts that there are no busy traces, and ArenaPoll is a no-op.
By having functions implemented using the corresponding macro, we can avoid duplicated code, and avoid testing DISABLE_SHIELD in global.c.
Remove all remaining references to MPS_PROD_EPCORE.

Copied from Perforce
 Change: 185176
 ServerID: perforce.ravenbrook.com
2014-04-02 15:48:57 +01:00
Richard Brooksby
e3de034033 Responding to nb's review comments.
Copied from Perforce
 Change: 179457
 ServerID: perforce.ravenbrook.com
2012-09-12 23:00:33 +01:00
Richard Brooksby
858e4ac0ac Partial merge of branch/2012-07-23/cet-transform, excluding cet-specific parts.
Copied from Perforce
 Change: 179309
 ServerID: perforce.ravenbrook.com
2012-09-06 17:17:18 +01:00
Richard Brooksby
13ba70d2dd Fixing warnings revealed by xcode (clang).
Copied from Perforce
 Change: 178898
 ServerID: perforce.ravenbrook.com
2012-08-11 09:30:24 +01:00
Richard Brooksby
215ef086cb Removed support for old or dead platforms: osf/1, irix, mac system 7, sunos, windows nt on alpha, windows nt on powerpc.
See <https://github.com/datafueled/memory-pool-system/pull/3> for the origin of this change.

Copied from Perforce
 Change: 178872
 ServerID: perforce.ravenbrook.com
2012-08-08 19:02:57 +01:00
David Jones
76e9f4ae06 Mps: protection for intel darwin. hopefully cross-platform.
Copied from Perforce
 Change: 161902
 ServerID: perforce.ravenbrook.com
2007-03-08 21:50:28 +00:00