Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: suckow@uropax.contrib.de (Ralf Suckow)
Subject: X and DCE-RPC ? Please Help!
Date: 1 Jul 1994 00:18:44 +0200	[thread overview]
Message-ID: <2uvgc5$4i2@uropax.contrib.de> (raw)

Hi all,
please help me to resolve a question I need for a system
design while being not very familiar with X.

The short question is: how to integrate DCR-RPC into X processes?

Here's the long form:
(I'll try to give a bit more information,
since I very need an answer and it is very difficult to me
to find a solution by myself)

Is it possible to make an X (more precisely: Motif) application 
receiving X events to be a DCE-RPC client and/or server, 
i.e. to send and receive DCE remote procedure calls?

1. If we use a single-threaded process, how can we integrate
   the code of both systems that receives events and rpcs
   from a number of sockets, if we don't have access to the
   dce listening routines in the RPC runtime library?
   How can we make the process to receive asynchroneous
   X events while being in a synchroneous DCE-RPC
   (a number of little threads doing RPC)?

2. If we use a multi-threaded process, and we run two threads,
   one listening for DCE-RPC's, the other for X events,
   - how can we get the X software to use jacket routines
     for system calls (like select), and do we need to do this?
   - if both X and RPC-runtime use jacket routines for
     the receiving system calls, don't they possibly get 
     dead-locked in certain circumstances? Their algorithms
     are not synchronized to each other in the resource
     allocation orders etc.
   - can we access X-related data and libraries from outside
     the X thread, i.e. is it possible to make X (and Motif)
     thread-safe?

It would be very kind if anybody could help.
Only saying "Yes, it's possible, we did it" would
already be very useful since we can then get a decision
now and look for an implementation later.

Thank you very much.
Ralf
is there a thread-safe
   X implementation working with a DCE RPC-runtime using threads?
   (for HP-UX, for example)

-- 
Ralf Suckow, Berlin   |
suckow@contrib.de     | --- new signature still under construction ---


             reply	other threads:[~1994-06-30 22:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-06-30 22:18 Ralf Suckow [this message]
1994-07-06 11:08 ` X and DCE-RPC ? Please Help! Peter Klotz
1994-07-06 18:47 ` Seiichi Tatsukawa
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