← Back to team overview

marionnet-dev team mailing list archive

[Branch ~marionnet-drivers/ocamlbricks/trunk] Rev 502: Added a "crossover" (software) link between a Linux's pseudo-terminal and a Unix-socket server (f...

 

------------------------------------------------------------
revno: 502
committer: Jean-Vincent Loddo <loddo@xxxxxxxxxxxxxxxxxxxx>
branch nick: ocamlbricks
timestamp: Sun 2020-04-12 22:49:37 +0200
message:
  Added a "crossover" (software) link between a Linux's pseudo-terminal and a Unix-socket server (for instance an X11 server) in module Network.Socat. The tool, named `pts_of_unix_stream_server', starts a thread or a fork, as the caller desires, and returns a promise of type ((exn, unit) Either.t Future.t * Future.Control.t). With the Future.Control part (the 2nd), another thread may interrupt this future (fork or thread) when it consider appropriate. This function is a relevant example of application of the module Future.Control, and of the function ThreadExtra.read_with_exit_door.
modified:
  STRUCTURES/network.ml
  STRUCTURES/network.mli


--
lp:ocamlbricks
https://code.launchpad.net/~marionnet-drivers/ocamlbricks/trunk

Your team marionnet-dev is subscribed to branch lp:ocamlbricks.
To unsubscribe from this branch go to https://code.launchpad.net/~marionnet-drivers/ocamlbricks/trunk/+edit-subscription