From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,c4fa1a2cfa0d7dda X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1993-08-12 13:21:43 PST Path: gmd.de!xlink.net!howland.reston.ans.net!sol.ctr.columbia.edu!news.kei.com!bloom-beacon.mit.edu!paperboy.osf.org!rsalz From: rsalz@osf.org (Rich Salz) Newsgroups: comp.unix.osf.misc Subject: Re: DCE questions Date: 12 Aug 1993 19:47:41 GMT Organization: Open Software Foundation Distribution: world Message-ID: <24e6ot$4a2@paperboy.osf.org> References: <2361@ncrsecp.Copenhagen.NCR.COM> NNTP-Posting-Host: sulphur.osf.org Keywords: DCE,RPC 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$