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:
parent
65268ff37a
commit
8fc9450619
1 changed files with 0 additions and 6 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue