1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-30 09:00:31 -08:00

Introduce a count of the "system" pools (that is, those remaining when arenadestroy is called), so that arena classes can add new ones.

Copied from Perforce
 Change: 194812
This commit is contained in:
Gareth Rees 2018-07-31 13:35:22 +01:00
parent c3fcb052a2
commit 0fcb0ecf90
4 changed files with 9 additions and 9 deletions

View file

@ -528,6 +528,7 @@ typedef struct GlobalsStruct {
/* pool fields (<code/pool.c>) */
RingStruct poolRing; /* ring of pools in arena */
Serial poolSerial; /* serial of next created pool */
Count systemPools; /* count of pools remaining at ArenaDestroy */
/* root fields (<code/root.c>) */
RingStruct rootRing; /* ring of roots attached to arena */