actors: Remove deprecated call to former "8sync" definition
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 10 Dec 2016 22:16:08 +0000 (16:16 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 10 Dec 2016 22:16:08 +0000 (16:16 -0600)
These used the old meaning of 8sync, where something would happen
asynchronously but return its value.

* 8sync/systems/actors.scm (hive-create-actor, hive-create-actor*): Remove
  call to 8sync, just call its previous body on its own.

8sync/systems/actors.scm

index f9574d39b6a7a08614206509b0acf710389a1955..690d63d8082c18a4d1bc2e0fc683b0c93383a6f5 100644 (file)
@@ -684,16 +684,16 @@ that method for documentation."
 This is the method actors should call directly (unless they want
 to supply an id-cookie, in which case they should use
 create-actor*)."
-  (8sync (%hive-create-actor (actor-hive from-actor) actor-class
-                             init #f)))
+  (%hive-create-actor (actor-hive from-actor) actor-class
+                      init #f))
 
 
 (define* (create-actor* from-actor actor-class id-cookie #:rest init)
   "Create an instance of actor-class.  Return the new actor's id.
 
 Like create-actor, but permits supplying an id-cookie."
-  (8sync (%hive-create-actor (actor-hive from-actor) actor-class
-                             init id-cookie)))
+  (%hive-create-actor (actor-hive from-actor) actor-class
+                      init id-cookie))
 
 
 (define (self-destruct actor)