caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Serge Sivkov <ssp.mryau@gmail.com>
To: Gerd Stolpmann <gerd@gerd-stolpmann.de>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] netplex multi-thread asynchronous processor for  passive clients
Date: Sun, 5 Apr 2009 22:27:29 +0600	[thread overview]
Message-ID: <c6c39ebb0904050927m30ec37d5n1b7651ee463e746a@mail.gmail.com> (raw)
In-Reply-To: <c6c39ebb0904040724p1b8e3874n3fe4eb613dd92329@mail.gmail.com>

So, i got my service runing, partly. Currently i'm using ORPC and
synchronius calls to my RPC server. I simply can't start async RPC
client from processor's #process:
just after:
    let clnt = Protocol_clnt.create_client
      ~esys: container#event_system
      (Rpc_client.Inet ("localhost", 9007)) Rpc.Tcp in
    Protocol_clnt.new_signal'async clnt () cb;
i see in log:
Exception File "unixqueue.ml", line 954, characters 6-12: Assertion failed
But synchronious client works.

So here is my list of questions:
- why i may not to use nice netflex message bus from processor?
- how can i to know does some objects to share same event queue or doesn't?
- why i can't start async rpc client from processor by using
container#even_queue?
  (that queue is usable from processor: i can send and receive events
by using it)
- how can i use container#send_message from processor?
  (simple call to it silently hungs container's rpc)


      reply	other threads:[~2009-04-05 16:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-03 11:19 Serge Sivkov
2009-04-03 15:51 ` [Caml-list] " Gerd Stolpmann
2009-04-03 17:55   ` Serge Sivkov
2009-04-03 18:13     ` Jake Donham
2009-04-04 14:24     ` Serge Sivkov
2009-04-05 16:27       ` Serge Sivkov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c6c39ebb0904050927m30ec37d5n1b7651ee463e746a@mail.gmail.com \
    --to=ssp.mryau@gmail.com \
    --cc=caml-list@yquem.inria.fr \
    --cc=gerd@gerd-stolpmann.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).