signal an error on multithreaded fork
authorAndy Wingo <wingo@pobox.com>
Fri, 24 Feb 2012 10:20:21 +0000 (11:20 +0100)
committerAndy Wingo <wingo@pobox.com>
Fri, 24 Feb 2012 10:20:21 +0000 (11:20 +0100)
commit415e00fc57e6d734d90b3a7e2324437ccdf406a7
tree3b011d8a5409daaa12004cd54a85ea736719d11a
parent508e4a55df353ec50f005307eb98557c7da79c82
signal an error on multithreaded fork

* libguile/posix.c (scm_fork): Signal an error if a `fork' is attempted
  after threads have been spawned.

* test-suite/tests/00-socket.test: Moved here, from socket.test, so as
  to run before any threads are created.
* test-suite/Makefile.am: Adapt.
libguile/posix.c
test-suite/Makefile.am
test-suite/tests/00-socket.test [moved from test-suite/tests/socket.test with 98% similarity]