Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: rsalz@osf.org (Rich Salz)
Subject: Re: DCE and System calls
Date: Thu, 6 May 1993 16:34:06 GMT	[thread overview]
Message-ID: <1993May6.163406.25425@osf.org> (raw)
In-Reply-To: 1993May6.130044.2492@decus.ch

In <1993May6.130044.2492@decus.ch> u_bornetun@decus.ch writes:
>  1. Are there any limitations to what one can do in a server function
>     with regard to systems programming an do these limitations still 
>     exist even though I protect with mutexes?

It depends. DCE requires a pthreads implementation (draft 4 I think).
DCE source from OSF includes a user-level implementation of pthreads.
Depending on how thread-safe your vendor has made the C library, various
things will or will not work to various degrees.  You will have to ask
your vendor about each particular problem.  As a trick, try doing a select
on fileno(fp) where fp is that popen returned to you.  Do this before you
read, and make sure the select call is in a C program file that includes
the threads wrapper macros.

>  2. Is it possible for a program to act both as a DCE client and as a
>     DCE server at the same time?

Absolutely.  If you think about it, when your server does things like
rpc_register_ep() it is making an RPC client call to rpcd.

	/r$


      reply	other threads:[~1993-05-06 16:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-05-06 13:00 DCE and System calls u_bornetun
1993-05-06 16:34 ` Rich Salz [this message]
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