Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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;
    when_done()

"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)