From: mishkin@atria.com (Nathaniel Mishkin)
Subject: Re: Sharing DCE Client Binding Handles?
Date: Wed, 13 Oct 1993 12:34:51 GMT [thread overview]
Message-ID: <CEu5M4.Fx@atria.com> (raw)
In-Reply-To: dnorton-121093151708@130.13.18.159
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
next prev parent reply other threads:[~1993-10-13 12:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-10-12 21:16 Sharing DCE Client Binding Handles? Derk Norton
1993-10-13 12:34 ` Nathaniel Mishkin [this message]
1993-10-13 15:33 ` Greg Brail
1993-10-15 23:32 ` David Bell-Lee
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