From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,eafed89bc01ad3bd,start X-Google-Attributes: gidf678f,public X-Google-Thread: 10b6ac,eafed89bc01ad3bd,start X-Google-Attributes: gid10b6ac,public X-Google-ArrivalTime: 1994-06-30 15:33:04 PST Path: bga.com!news.sprintlink.net!hookup!swrinde!howland.reston.ans.net!EU.net!Germany.EU.net!netmbx.de!uropax.contrib.de!uropax.contrib.de!not-for-mail From: suckow@uropax.contrib.de (Ralf Suckow) Newsgroups: comp.unix.osf.misc,comp.windows.x.motif Subject: X and DCE-RPC ? Please Help! Date: 1 Jul 1994 00:18:44 +0200 Organization: Contributed Software GbR Distribution: inet Message-ID: <2uvgc5$4i2@uropax.contrib.de> NNTP-Posting-Host: uropax.contrib.de Xref: bga.com comp.unix.osf.misc:644 comp.windows.x.motif:6793 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 ---