Remove call/cc assertion about critical sections

* libguile/continuations.c (scm_dynthrow): Remove assertion about
  critical section level; it's just a mutex anyway.
This commit is contained in:
Andy Wingo 2016-11-01 23:27:04 +01:00
commit 8fc9450619

View file

@ -301,12 +301,6 @@ scm_dynthrow (SCM cont)
SCM_STACKITEM *dst = thread->continuation_base;
SCM_STACKITEM stack_top_element;
if (thread->critical_section_level)
{
fprintf (stderr, "continuation invoked from within critical section.\n");
abort ();
}
#if SCM_STACK_GROWS_UP
if (dst + continuation->num_stack_items >= &stack_top_element)
grow_stack (cont);