diff options
author | Andy Wingo <wingo@pobox.com> | 2016-11-05 11:14:17 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2016-11-05 11:16:46 +0100 |
commit | 768246124164243059b0eeb772d3bb5bf1db0db9 (patch) | |
tree | e952dd839c0fe459e44c4c89f52273e24eed5a6b /doc/ref/api-scheduling.texi | |
parent | c0916134ac052282ebd4353f2b9894e002cb4308 (diff) | |
download | guile-768246124164243059b0eeb772d3bb5bf1db0db9.tar.gz |
Replace scm_make_mutex_with_flags
* libguile/threads.c (enum fat_mutex_kind): New data type, replacing
separate flags.
(struct fat_mutex): Adapt.
(make_fat_mutex): Fat mutexes can only be one of three kinds, not one
of 4 kinds. (Recursive unowned mutexes are not a thing.)
(scm_make_mutex): Adapt.
(scm_make_mutex_with_kind): New function, replacing
scm_make_mutex_with_flags. Still bound to make-mutex.
(scm_make_recursive_mutex): Adapt.
(fat_mutex_lock, fat_mutex_unlock): Adapt.
* libguile/threads.h (scm_make_mutex_with_kind): New decl.
* libguile/deprecated.h:
* libguile/deprecated.c (scm_make_mutex_with_flags): Deprecate.
Diffstat (limited to 'doc/ref/api-scheduling.texi')
0 files changed, 0 insertions, 0 deletions