summaryrefslogtreecommitdiff
path: root/module/oop
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2016-10-17 21:58:08 +0200
committerAndy Wingo <wingo@pobox.com>2016-10-17 21:58:08 +0200
commit59f09d185b143326fb5c4d47bbd66eebe2b28d87 (patch)
tree681106f948a984bcb93a20fe4bc19ead1254e50a /module/oop
parent56d8d9a2577ea96a598f87f50dd6eafab0fcef26 (diff)
Deprecate user asyncs
* libguile/async.c: * libguile/async.h: * libguile/deprecated.c: * libguile/deprecated.h (scm_async, scm_async_mark, scm_run_asyncs): Deprecate these functions, which comprise the "users asyncs" facility. * module/oop/goops.scm: Adapt to <async> deprecation. * doc/ref/api-scheduling.texi: * doc/ref/libguile-concepts.texi: * doc/ref/libguile-foreign-objects.texi: * doc/ref/posix.texi: Remove documentation on user asyncs, and replace references to "system asyncs" to be just "asyncs".
Diffstat (limited to 'module/oop')
-rw-r--r--module/oop/goops.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/oop/goops.scm b/module/oop/goops.scm
index 1d56cc7e1..e4f51600e 100644
--- a/module/oop/goops.scm
+++ b/module/oop/goops.scm
@@ -75,7 +75,7 @@
;; once you have an instance. Perhaps FIXME to provide a
;; smob-type-name->class procedure.
<promise> <thread> <mutex> <condition-variable>
- <regexp> <hook> <bitvector> <random-state> <async>
+ <regexp> <hook> <bitvector> <random-state>
<directory> <array> <character-set>
<dynamic-object> <guardian> <macro>
@@ -3097,7 +3097,8 @@ var{initargs}."
;;;
(begin-deprecated
- (define-public <arbiter> (find-subclass <top> '<arbiter>)))
+ (define-public <arbiter> (find-subclass <top> '<arbiter>))
+ (define-public <async> (find-subclass <top> '<async>)))
(define <promise> (find-subclass <top> '<promise>))
(define <thread> (find-subclass <top> '<thread>))
@@ -3107,7 +3108,6 @@ var{initargs}."
(define <hook> (find-subclass <top> '<hook>))
(define <bitvector> (find-subclass <top> '<bitvector>))
(define <random-state> (find-subclass <top> '<random-state>))
-(define <async> (find-subclass <top> '<async>))
(define <directory> (find-subclass <top> '<directory>))
(define <array> (find-subclass <top> '<array>))
(define <character-set> (find-subclass <top> '<character-set>))