Use `scm_with_guile' in `test-pthread-create'.
authorLudovic Courtès <ludo@gnu.org>
Mon, 25 Apr 2011 21:59:12 +0000 (23:59 +0200)
committerLudovic Courtès <ludo@gnu.org>
Mon, 25 Apr 2011 21:59:42 +0000 (23:59 +0200)
commit7c86abd9ce9671c82a06d373ec8d1b847ec8d0bd
tree2a63166b3dac7c4df4d85a639e65e64a6c5d6848
parentdd7d0148f221c3180ab6f31c8742aaf4d0e5926a
Use `scm_with_guile' in `test-pthread-create'.

* test-suite/standalone/test-pthread-create.c (inner_main): New
  function.
  (main): Call it within `scm_with_guile', instead of using
  `scm_init_guile'.  This improves portability--e.g.,
  `GC_get_stack_base', used by `scm_init_guile', failed on Darwin
  up to BDW-GC 7.1alpha4 included (thanks, Mark, for the hint.)
test-suite/standalone/test-pthread-create.c