heph icon indicating copy to clipboard operation
heph copied to clipboard

Use ActorFuture in runtime

Open Thomasdezeeuw opened this issue 2 years ago • 2 comments

Use ActorFuture in rt::process, possibly removing rt::process completely.

Thomasdezeeuw avatar Mar 27 '22 15:03 Thomasdezeeuw

Do the same for spawn_sync_actor from https://github.com/Thomasdezeeuw/heph/pull/541.

Thomasdezeeuw avatar Apr 01 '22 19:04 Thomasdezeeuw

Could use the recently stabilised thread::JoinHandle::is_finished for the control of the sync actor.

Thomasdezeeuw avatar Apr 09 '22 20:04 Thomasdezeeuw

Similar issue for the sync actor utilities: https://github.com/Thomasdezeeuw/heph/issues/571.

Thomasdezeeuw avatar Mar 04 '23 10:03 Thomasdezeeuw

This is hard to do at the moment because we require a setup function for a number of actors. If we can change/remove move we can revisit this.

Thomasdezeeuw avatar Mar 04 '23 10:03 Thomasdezeeuw