home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!europa.asd.contel.com!gatech!rutgers!ub!netfs!manitou.cse.dnd.ca!pburry
- From: pburry@manitou.cse.dnd.ca (Paul Burry)
- Newsgroups: comp.sys.sun.misc
- Subject: Can the internal buffer size of PTYs be configured?
- Message-ID: <1992Jul24.013736.3479@manitou.cse.dnd.ca>
- Date: 24 Jul 92 01:37:36 GMT
- Sender: pburry@manitou.cse.dnd.ca (Paul Burry)
- Organization: Canadian System Security Centre
- Lines: 20
-
- I have an application that would like to make 16k non-interuptable writes
- to a pty device. (The application is Sybase 4.8). Currently, when it does
- a 16K write, it occasionally is interrupted a signal caused by its internal
- scheduler.
-
- Is there ANY way I can configure the kernel so I can get this behaviour.
-
- I see in specfs/fifo.h the define FIFOBUF defines the amount of data buffered
- by a pipe. Would changing this from 4K to 16K cause the desired behaviour?
-
- Alternatively, could anyone provide be with the source for a pipe-like device
- providing non-interuptable writes that has both master and slave /dev/ entries?
-
-
- Any help or suggestions would be much appreciated.
- --
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- Paul Burry
- Voice: (613)-991-7325 Internet: pburry@cse.dnd.ca
- Fax: (613)-991-7323 UUCP: ..!{uunet,cunews}!cse.dnd.ca!pburry
-