From: smiller@bnr.ca (Scott Miller)
Subject: Multithreaded programs and RPCs
Date: 1995/09/02 [thread overview]
Message-ID: <4289kh$hv6@bcarh8ab.bnr.ca> (raw)
I wrote a simple program that spawns off a thread to act as an RPC server.
It core dumps. However, if I spawn off a thread to do the 'main' loop, and
use the main thread to act as the RPC server, it (seems to) work. Why is this?
Can a non-first thread in a process act as an RPC server? Do I need to
compile/link with some different switches?
ONC RPC, OSF1 V3.2, using cc options '-threads -lc_r -lpthreads'. I've also
thrown in '-lmach -lrpc -lrpcsvc'. Any clues?
--
--
Scott Miller, in the bowels of Bell-Northern Research smiller@bnr.ca
I don't speak for BNR; BNR doesn't speak for me. aa438@freenet.carleton.ca
next reply other threads:[~1995-09-02 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-09-02 4:00 Scott Miller [this message]
1995-09-04 4:00 ` Multithreaded programs and RPCs David Jones
1995-09-05 4:00 ` Scott Miller
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