home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / misc / 3033 < prev    next >
Encoding:
Internet Message Format  |  1992-07-28  |  1.4 KB

  1. Xref: sparky comp.unix.misc:3033 comp.unix.programmer:3964
  2. Path: sparky!uunet!ogicse!usenet.coe.montana.edu!uakari.primate.wisc.edu!sal.wisc.edu!rat!polyslo.csc.calpoly.edu!gcusanza
  3. From: gcusanza@polyslo.csc.calpoly.edu (Gregory M. Cusanza)
  4. Newsgroups: comp.unix.misc,comp.unix.programmer
  5. Subject: LWP blocking on I/O
  6. Summary: How do you prevent I/O from blocking threads with SunOS?
  7. Keywords: RPC,LWP,threads
  8. Message-ID: <1992Jul28.161110.9919@rat.csc.calpoly.edu>
  9. Date: 28 Jul 92 16:11:10 GMT
  10. Article-I.D.: rat.1992Jul28.161110.9919
  11. Distribution: na
  12. Organization: Cal Poly San Luis Obispo, ARDFA
  13. Lines: 16
  14. Nntp-Posting-Host: polyslo.csc.calpoly.edu
  15.  
  16. Our software group is currently developing software for the California 
  17. Department of Transportation.  The software needs to use Remote Procedure 
  18. Calls (RPC) within multiple Lightweight Processes (threads).
  19.  
  20. We are using SunOS and its kernal doesn't allow non-blocking I/O 
  21. within threads.  In order to get around this we have to use the 
  22. non-blocking I/O library (libnbio.a) to prevent the RPC's from blocking.  
  23. The problem is that the threads will hang.  It appears that the RPC's are 
  24. still blocking.  Has anyone else had this or0a similar problem?  If you 
  25. have a solution or some insight, please email the address below.  We would 
  26. appreciate any responses.
  27.  
  28. Greg Cusanza
  29. gcusanza@autobahn.ardfa.calpoly.edu
  30. Applied Research and Development, Cal Poly
  31.  
  32.