home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.vxworks
- Path: sparky!uunet!news!wrs.com!geoff
- From: geoff@wrs.com (Geoff Espin)
- Subject: Re: RPC's
- Message-ID: <geoff.726423975@wrs.com>
- Sender: news@wrs.com (News Manager)
- Nntp-Posting-Host: harirud
- Organization: Wind River Systems, Inc.
- References: <1993Jan7.143248.12461@sunova.ssc.gov>
- Date: Thu, 7 Jan 1993 16:26:15 GMT
- Lines: 26
-
- sapp@falcon.ssc.gov (Kevin Sapp) writes:
-
- >I have RPC's working between a Sparc2 and a VxWorks MVME147, but only
- >at the shell. When I execute the RPC server directly from the shell
- >everything works fine. When I do a taskSpawn 100,0,20000,myRpcTest
- >the program dies down in the pmap_unset function during an indirect
- >function call off of (a1), the address that it is trying to call
- >causes a bus error.
-
- Did you call rpcTaskInit()?
-
- rpcTaskInit() - initialize a task's access to the RPC package
- This routine must be called by a task before it makes any calls to
- other routines in the RPC package.
-
- WRS' RPC is a port of the standard Sun distribution which
- contains numerous static variables making it non-reentrant.
- Task variables are used to make the statics task specific,
- therefore rpcTaskInit() must be called before making any RPC calls
- in a new task context.
-
- Geoff
- --
- Geoff Espin geoff@wrs.com (510)748-4100
- Wind River Systems
- 1010 Atlantic Avenue Alameda CA 94501
-