English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
netplex: calling send_message from processor hangs container
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-04-05 (06:41)
From: Serge Sivkov <ssp.mryau@g...>
Subject: netplex: calling send_message from processor hangs container
Hello, the following code hags container as for Netplex_mt as for
Netplex_mp parallelizer:

  method process ~when_done container fd proto_name =
    let ch = Unix.out_channel_of_descr fd in
    output_string ch "Hello\n";
    flush ch;
    container#send_message "Sender*" "test-msg" [||];
    close_out ch;

"Sender*" is name of other service and it's work well.
Administrative messages is also no longer be accepted, but
netpex-admin is not hungs.
Also, after that code executes, i'm not able to start yet another such client.
(net_client 2.2.9)