mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-27 13:30:31 +02:00
Reorder events in event listener; refactors to mmc and pcc
In GC, request mutators to stop before doing anything else; changes the order of the event listener interface. Also, refactor mmc to look more like pcc.
This commit is contained in:
parent
9f437485ec
commit
6545b34073
11 changed files with 140 additions and 158 deletions
|
@ -2,6 +2,7 @@
|
|||
#define COPY_SPACE_H
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <sys/mman.h>
|
||||
|
||||
#include "gc-api.h"
|
||||
|
||||
|
@ -541,8 +542,7 @@ copy_space_contains(struct copy_space *space, struct gc_ref ref) {
|
|||
}
|
||||
|
||||
static inline void
|
||||
copy_space_allocator_init(struct copy_space_allocator *alloc,
|
||||
struct copy_space *space) {
|
||||
copy_space_allocator_init(struct copy_space_allocator *alloc) {
|
||||
memset(alloc, 0, sizeof(*alloc));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue