caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* netplex: calling send_message from processor hangs container
@ 2009-04-05  6:41 Serge Sivkov
  0 siblings, 0 replies; only message in thread
From: Serge Sivkov @ 2009-04-05  6:41 UTC (permalink / raw)
  To: caml-list

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)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-05  6:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-05  6:41 netplex: calling send_message from processor hangs container Serge Sivkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).