mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-17 01:00:20 +02:00
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().
This commit is contained in:
parent
f311754e17
commit
27c6ebcb16
6 changed files with 32 additions and 43 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue