Make sure `scm_spawn_thread' returns a thread.
authorLudovic Courtès <ludo@gnu.org>
Wed, 11 Jan 2012 23:38:22 +0000 (00:38 +0100)
committerLudovic Courtès <ludo@gnu.org>
Wed, 11 Jan 2012 23:38:56 +0000 (00:38 +0100)
commit0f4f2d9a3096f935f4e4f91ee437b7b5b16d20c8
treeb60b6cf9fc7ae5f09ae17b19ed4dfae75d09b5e0
parentea3cef045a413aa1001cf13e1ea2bc150626c3ce
Make sure `scm_spawn_thread' returns a thread.

* libguile/threads.c (scm_spawn_thread): Add an assertion that
  DATA.thread is a thread.  This assertion is sometimes hit on
  x86_64-freebsd8.2.
libguile/threads.c