1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-28 05:50:30 +02:00
guile/module/system/vm
Andy Wingo 2bbe1533e8 truly thread-local vms; don't compile popen.scm
* ice-9/Makefile.am: Don't compile popen.scm, its behaviour at runtime
  is not consistent -- seems to miss some GC references? I suspect a bug
  in the compiler. In any case without popen.scm being compiled,
  continuations.test, r4rs.tes, and r5rs_pitfall.test do pass.

* libguile/threads.h (scm_i_thread):
* libguile/threads.c (thread_mark, guilify_self_2): Add a field for the
  thread's vm. Previously I had this as a fluid, but it seems that newly
  created threads share their fluid values from the creator thread; as
  expected, I guess. In any case one VM should not be active in two
  threads.

* libguile/vm.c (scm_the_vm): Change to access the thread-local vm,
  instead of accessing a fluid.
  (scm_the_vm_fluid): Removed.

* module/system/vm/vm.scm: Removed *the-vm*.
2008-10-11 11:54:12 +02:00
..
.cvsignore *** empty log message *** 2001-04-22 02:13:48 +00:00
assemble.scm compile @ and @@ 2008-09-30 00:31:17 +02:00
conv.scm compile call-with-values, woot! 2008-09-16 00:26:22 +02:00
debug.scm use #:keywords in module/*.scm, not :keywords 2008-09-09 06:58:25 +02:00
disasm.scm compile call-with-values, woot! 2008-09-16 00:26:22 +02:00
frame.scm a number of small compilation fixes 2008-09-25 13:46:09 +02:00
instruction.scm use #:keywords in module/*.scm, not :keywords 2008-09-09 06:58:25 +02:00
Makefile.am module compilation fixen, post-integration 2008-08-25 13:05:16 -07:00
objcode.scm use #:keywords in module/*.scm, not :keywords 2008-09-09 06:58:25 +02:00
profile.scm use #:keywords in module/*.scm, not :keywords 2008-09-09 06:58:25 +02:00
program.scm tweaks for printing programs 2008-09-13 14:19:30 +02:00
trace.scm use #:keywords in module/*.scm, not :keywords 2008-09-09 06:58:25 +02:00
vm.scm truly thread-local vms; don't compile popen.scm 2008-10-11 11:54:12 +02:00