1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-24 12:20: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:
Andy Wingo 2011-05-15 13:11:03 +02:00
parent f311754e17
commit 27c6ebcb16
6 changed files with 32 additions and 43 deletions

View file

@ -1575,7 +1575,7 @@ fat_mutex_unlock (SCM mutex, SCM cond,
}
t->block_asyncs--;
scm_async_click ();
scm_async_tick ();
scm_remember_upto_here_2 (cond, mutex);