From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,478987266d0dbf45 X-Google-Attributes: gidf678f,public X-Google-Thread: 10b6ac,478987266d0dbf45 X-Google-Attributes: gid10b6ac,public From: "Gottfried W.A. Klwin" Subject: Re: Combining X with DCE pthreads and rpcs??? Date: 1995/08/18 Message-ID: <412afh$htu@luxor.mch.sni.de>#1/1 X-Deja-AN: 108419333 distribution: inet references: <41216j$oo5@stc06.ctd.ornl.gov> organization: Siemens Nixdorf Inc. newsgroups: comp.windows.x.motif,comp.unix.osf.misc Steinert D A,62534, 1007-K MS-7053 wrote: > > Can an X application use pthreads? More specifically, I would like > to fire off a thread that does an rpc_server_listen() for data input > from a DCE client. The problem (I think ) is that rpc_server_listen > stays in an infinite loop just like XtAppMainLoop. It appears that > once the XtAppMainLoop gets cranked up the rpc_server_listen blocks. > Sometimes I get a connection from the DCE client but most of the > time I'm in the XtAppMainLoop before the DCE client sends information. > > Any help on combining X with DCE and threads would be appreciated. > > Deryl Steinert > Lockheed Martin Energy Systems > Oak Ridge, TN. > dus@ornl.gov rpc_mgmt_stop_server_listening - Tells a server to stop listening for remote procedure calls see also the manual page to that API call.