Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: gjb@fig.citib.com (Greg Brail)
Subject: Re: Sharing DCE Client Binding Handles?
Date: Wed, 13 Oct 1993 15:33:10 GMT	[thread overview]
Message-ID: <CEuDvB.4Gp@fig.citib.com> (raw)
In-Reply-To: dnorton-121093151708@130.13.18.159

In article <dnorton-121093151708@130.13.18.159>,
Derk Norton <dnorton@advtech.uswest.com> wrote:
>Hello,
>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've tried it and it works -- however, that's only when using the binding
handle to make RPCs. If you want to rebind or call a function in the
DCE API that takes a binding handle, it'd be best to play it safe and
put a mutex on the handle. If you lock the handle whenever you call a
DCE API function and check if it's locked before every RPC, you should
be fine.

				greg


-- 
Greg Brail ------------------ Citibank -------------------- gjb@fig.citib.com


  parent reply	other threads:[~1993-10-13 15:33 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
1993-10-13 15:33 ` Greg Brail [this message]
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