aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pdumper.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/pdumper.c b/src/pdumper.c
index 956d90cc853..cf2aaf474bb 100644
--- a/src/pdumper.c
+++ b/src/pdumper.c
@@ -451,10 +451,7 @@ struct dump_flags
451 /* Pack objects tighter than GC memory alignment would normally 451 /* Pack objects tighter than GC memory alignment would normally
452 require. Useful for objects copied into the Emacs image instead 452 require. Useful for objects copied into the Emacs image instead
453 of used directly from the loaded dump. 453 of used directly from the loaded dump.
454 454 */
455 XXX: actually use
456
457 */
458 bool_bf pack_objects : 1; 455 bool_bf pack_objects : 1;
459 /* Sometimes we dump objects that we've already scanned for outbound 456 /* Sometimes we dump objects that we've already scanned for outbound
460 references to other objects. These objects should not cause new 457 references to other objects. These objects should not cause new
@@ -4033,10 +4030,12 @@ types. */)
4033 "dumper. Dumping with the portable dumper may produce " 4030 "dumper. Dumping with the portable dumper may produce "
4034 "unexpected results."); 4031 "unexpected results.");
4035 4032
4036 // XXX: check that we have no other threads running
4037 if (!main_thread_p (current_thread)) 4033 if (!main_thread_p (current_thread))
4038 error ("Function can be called only on main thread"); 4034 error ("Function can be called only on main thread");
4039 4035
4036 if (!NILP (XCDR (Fall_threads ())))
4037 error ("No other threads can be running");
4038
4040 /* Clear out any detritus in memory. */ 4039 /* Clear out any detritus in memory. */
4041 do { 4040 do {
4042 number_finalizers_run = 0; 4041 number_finalizers_run = 0;