home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / vxworks / 1172 < prev    next >
Encoding:
Text File  |  1993-01-07  |  1.3 KB  |  39 lines

  1. Newsgroups: comp.os.vxworks
  2. Path: sparky!uunet!news!wrs.com!geoff
  3. From: geoff@wrs.com (Geoff Espin)
  4. Subject: Re: RPC's
  5. Message-ID: <geoff.726423975@wrs.com>
  6. Sender: news@wrs.com (News Manager)
  7. Nntp-Posting-Host: harirud
  8. Organization: Wind River Systems, Inc.
  9. References: <1993Jan7.143248.12461@sunova.ssc.gov>
  10. Date: Thu, 7 Jan 1993 16:26:15 GMT
  11. Lines: 26
  12.  
  13. sapp@falcon.ssc.gov (Kevin Sapp) writes:
  14.  
  15. >I have RPC's working between a Sparc2 and a VxWorks MVME147, but only
  16. >at the shell.  When I execute the RPC server directly from the shell
  17. >everything works fine.  When I do a taskSpawn 100,0,20000,myRpcTest
  18. >the program dies down in the pmap_unset function during an indirect
  19. >function call off of (a1), the address that it is trying to call 
  20. >causes a bus error.
  21.  
  22. Did you call rpcTaskInit()?
  23.  
  24.     rpcTaskInit() - initialize a task's access to the RPC package
  25.     This routine must be called by a task before it makes any calls to
  26.     other routines in the RPC package.
  27.  
  28. WRS' RPC is a port of the standard Sun distribution which
  29. contains numerous static variables making it non-reentrant.
  30. Task variables are used to make the statics task specific,
  31. therefore rpcTaskInit() must be called before making any RPC calls
  32. in a new task context.
  33.  
  34. Geoff
  35. -- 
  36. Geoff Espin        geoff@wrs.com    (510)748-4100
  37. Wind            River        Systems
  38. 1010 Atlantic Avenue    Alameda        CA 94501
  39.