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