From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,563ae5baf17e2466 X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1993-10-13 07:29:46 PST Newsgroups: comp.unix.osf.misc Path: gmd.de!xlink.net!howland.reston.ans.net!noc.near.net!atria.com!pluto!mishkin From: mishkin@atria.com (Nathaniel Mishkin) Subject: Re: Sharing DCE Client Binding Handles? Message-ID: Sender: news@atria.com Nntp-Posting-Host: 192.88.237.52 Organization: Atria Software, Inc. X-Newsreader: TIN [version 1.2 PL0] References: Date: Wed, 13 Oct 1993 12:34:51 GMT Derk Norton (dnorton@advtech.uswest.com) wrote: : Can multiple threads within a DCE *client* share a fully bound binding : handle without using a mutex for the handle? If so, are there any : other precautions I should take when doing so? I believe that you can use a single binding handle to concurrently make calls from multiple threads. However, you _are_ likely to get into problems concurrently doing other "non-call" operations on the shared binding handle; e.g., I wouldn't advise doing something like rpc_binding_reset() from one thread while doing the same (_or_ making a remote call) on the same binding handle from another thread. Also, as best I can recall, we did go to some effort to make the concurrent call case work even when the binding handle isn't "fully bound" to a server (although one call may stall until the other call has successfully resolved to a server). -- -- Nat Mishkin Atria Software, Inc. mishkin@atria.com