guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 15/17: Remove call/cc assertion about critical sections


From: Andy Wingo
Subject: [Guile-commits] 15/17: Remove call/cc assertion about critical sections
Date: Tue, 1 Nov 2016 22:50:44 +0000 (UTC)

wingo pushed a commit to branch master
in repository guile.

commit 8fc9450619a78023b0f4ea7c604569b5c5385927
Author: Andy Wingo <address@hidden>
Date:   Tue Nov 1 23:27:04 2016 +0100

    Remove call/cc assertion about critical sections
    
    * libguile/continuations.c (scm_dynthrow): Remove assertion about
      critical section level; it's just a mutex anyway.
---
 libguile/continuations.c |    6 ------
 1 file changed, 6 deletions(-)

diff --git a/libguile/continuations.c b/libguile/continuations.c
index 3ce794b..3e32749 100644
--- a/libguile/continuations.c
+++ b/libguile/continuations.c
@@ -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);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]