Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: rsalz@osf.org (Rich Salz)
Subject: Re: DCE questions
Date: 12 Aug 1993 19:47:41 GMT	[thread overview]
Message-ID: <24e6ot$4a2@paperboy.osf.org> (raw)
In-Reply-To: 2361@ncrsecp.Copenhagen.NCR.COM

In <2361@ncrsecp.Copenhagen.NCR.COM> pio@ncrsecp.Copenhagen.NCR.COM (Per Igel) writes:
> the signal handling routine will then
>take the data from the TLI file descriptor process it and write/put it on the
>output queue. Then return from the signal handling routine and go back and

As an aside:  it is generally a Bad Idea to do any real work inside
a signal handler.  The best way to do things is set a flag which you poll.
Yes, this makes certain problems hard to solve.  It is, however, the most
portable way to do things.

Anyhow, on to your DCE questions:

>      - DCE-RPC is extremely synchronous, therefore, the only way to make it
>        "asynchronous" is to create a thread for each RPC call you send off

Yes, using threads is the way to do this.

>      - If I want to (and I really do!) keep the scheduler process pretty
>        much as it is, then how do I get it to become both a client and a
>        server (in DCE terms)?

Spawn a thread which does rpc_server_listen().

>        is there a point where my process runs out 
>        of threads? Is 'rpc_c_listen_max_calls_default' that max limit or 

This depends on your implementation, but you should be able to have
dozens, if not hundreds, of threads with no problem.  Don't worry about it.

	/r$


  reply	other threads:[~1993-08-12 19:47 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-08-12 15:25 DCE questions Per Igel
1993-08-12 19:47 ` Rich Salz [this message]
1993-08-13 15:01 ` Greg Brail
  -- strict thread matches above, loose matches on Subject: below --
1994-01-20 13:32 DCE Questions Jaqui Lynch
1994-01-21 13:53 ` Mark Hickey
1994-01-21 14:23 ` Craig Weeks
1994-01-21 19:12 ` Wanda Monroe
1994-01-31 16:55 Shridhar R Muppidi
1994-02-01  9:42 ` Bernd Dreier
1994-02-01 12:45 ` Jon Mauney
1994-02-01 18:13   ` Ted W. Larson
     [not found]     ` <2itvfm$77t@ftn.ftn.us-ny.citicorp.com>
1994-02-06 12:33       ` Manfred Scheible
1994-02-03 21:46 ` Reilly F. Hayes
1994-02-09 16:23   ` Jamison H Abbott
1994-02-10 17:41     ` Seiichi Tatsukawa
1994-02-08 17:04 ` Rich Salz
1994-10-21  5:22 Carl Hoang
1994-10-24 22:42 ` Gerry Palo
1994-10-26  0:18   ` Dr. James W. Hong
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox