diff options
author | Andy Wingo <wingo@pobox.com> | 2011-05-15 13:11:03 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2011-05-15 15:34:16 +0200 |
commit | 27c6ebcb164e2001306dd6cf82f6beca96133c63 (patch) | |
tree | 3ff35072f3c114110eddc5b66599f4b34a62e2fc /libguile/async.h | |
parent | f311754e17983afe1dc6f8f4d829f3a1e8b7f437 (diff) | |
download | guile-27c6ebcb164e2001306dd6cf82f6beca96133c63.tar.gz |
rename scm_async_click() to scm_async_tick(); privatize SCM_ASYNC_TICK
* libguile/_scm.h (SCM_ASYNC_TICK, SCM_ASYNC_TICK_WITH_CODE): Make these
definitions private. Call the tick() function instead of click().
* libguile/__scm.h:
* libguile/async.h (scm_async_tick): Move declaration here. Remove
scm_async_click declaration. Tick is the new (and old!) click, you
see.
(SCM_CRITICAL_SECTION_END): Call tick() instead of click().
* libguile/async.c (scm_async_tick): Remove old definition, and rename
scm_async_click to scm_async_tick.
(decrease_block): Adapt to click() -> tick() name change.
* libguile/deprecated.h (scm_async_click, SCM_ASYNC_TICK): Define some
GONE macros.
* libguile/threads.c (fat_mutex_unlock): Tick() instead of click().
Diffstat (limited to 'libguile/async.h')
-rw-r--r-- | libguile/async.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libguile/async.h b/libguile/async.h index 2214f679b..68952b055 100644 --- a/libguile/async.h +++ b/libguile/async.h @@ -29,7 +29,7 @@ -SCM_API void scm_async_click (void); +SCM_API void scm_async_tick (void); SCM_API void scm_switch (void); SCM_API SCM scm_async (SCM thunk); SCM_API SCM scm_async_mark (SCM a); @@ -75,7 +75,7 @@ SCM_API void scm_critical_section_end (void); SCM_I_CURRENT_THREAD->critical_section_level--; \ SCM_I_CURRENT_THREAD->block_asyncs--; \ scm_i_pthread_mutex_unlock (&scm_i_critical_section_mutex); \ - scm_async_click (); \ + scm_async_tick (); \ } while (0) #else /* !BUILDING_LIBGUILE */ |