guile-commits
[Top][All Lists]
Advanced

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

[Guile-commits] 06/17: Remove unused internal definitions


From: Andy Wingo
Subject: [Guile-commits] 06/17: Remove unused internal definitions
Date: Tue, 1 Nov 2016 22:50:44 +0000 (UTC)

wingo pushed a commit to branch master
in repository guile.

commit c77ccc58fb216c7882e2dae3700f8490ffb40d42
Author: Andy Wingo <address@hidden>
Date:   Tue Nov 1 22:10:12 2016 +0100

    Remove unused internal definitions
    
    * libguile/async.h (scm_i_pthread_mutex_lock_block_asyncs)
      (scm_i_pthread_mutex_unlock_unblock_asyncs): Remove unused internal
      definitions.
---
 libguile/async.h |   16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/libguile/async.h b/libguile/async.h
index e8b6ee9..578e901 100644
--- a/libguile/async.h
+++ b/libguile/async.h
@@ -75,22 +75,6 @@ SCM_API void scm_critical_section_end (void);
     scm_async_tick ();                                         \
   } while (0)
 
-# define scm_i_pthread_mutex_lock_block_asyncs(m)      \
-  do                                                   \
-    {                                                  \
-      SCM_I_CURRENT_THREAD->block_asyncs++;            \
-      scm_i_pthread_mutex_lock (m);                    \
-    }                                                  \
-  while (0)
-
-# define scm_i_pthread_mutex_unlock_unblock_asyncs(m)  \
-  do                                                   \
-    {                                                  \
-      scm_i_pthread_mutex_unlock (m);                  \
-      SCM_I_CURRENT_THREAD->block_asyncs--;            \
-    }                                                  \
-  while (0)
-
 #else /* !BUILDING_LIBGUILE */
 
 # define SCM_CRITICAL_SECTION_START  scm_critical_section_start ()



reply via email to

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