home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!pacbell.com!unet!loren!larson
- From: larson@loren.net.com (Alan Larson)
- Newsgroups: comp.sys.sun.misc
- Subject: Re: lightweight processes
- Message-ID: <2287@unet.UUCP>
- Date: 13 Aug 92 01:09:04 GMT
- References: <SIM.92Jul30175133@mdtf14.fnal.gov>
- Sender: news@unet.UUCP
- Reply-To: larson@net.com
- Distribution: usa
- Organization: Network Equipment Technologies
- Lines: 23
- Nntp-Posting-Host: loren
-
- In article <SIM.92Jul30175133@mdtf14.fnal.gov> sim@mdtf14.fnal.gov (Jim Sim) writes:
- >I am interested in using lightweight processes (threads) for a project.
- >The man page for lwp_create . . .
-
- I am also trying to use the lwp libraries. The man page notes under
- bugs:
- Killing a process that uses the non-blocking I/O library may leave
- objects (such as its standard input) in a non-blocking state. This
- could cause confusion to the shell.
-
- When I use the non-blocking I/O library, the shell exits immediately
- after the program exits, so it looks like something was left funny.
-
- How does one get around this? How do I reset things so they will not
- be left in a funny state? (And, why didn't unix just have non-blocking
- I/O calls that die with the process instead of a non-blocking state for
- the device as this warning implys.)
-
- I asked our unix system person to ask the hotline at Sun about
- this, but the hotline claimed that there was no such product as the
- lwp library, and that it was not supported.
-
- Alan
-