| To: | scsh-hackers <scsh-hackers@lists.sourceforge.net> |
|---|---|
| Subject: | [Scsh-hackers] select |
| From: | Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de> |
| Date: | 12 Mar 2001 16:07:53 +0100 |
| List-id: | Discussion among the implementors <scsh-hackers.lists.sourceforge.net> |
| Sender: | scsh-hackers-admin@lists.sourceforge.net |
>>>>> "Olin" == shivers <shivers@cc.gatech.edu> writes: Olin> In general you're right of course, but I don't know how hard it is to Olin> fake *select*. I'll give it a try tomorrow. Olin> Super. There is definitely no way to fake SELECT using the Scheme 48 port and channel system. The reason is that they only way to test for writing is to actually *perform* a write. There is no equivalent to char-ready? even inside the system. So all I can offer is to use the select syscall with a short timeout and then do a loop until something happens. -- Martin |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [Scsh-hackers] [ scsh-Bugs-407895 ] type/name not documented, nobody |
|---|---|
| Next by Date: | [Scsh-hackers] [ scsh-Bugs-407895 ] type/name not documented, nobody |
| Previous by Thread: | [Scsh-hackers] Re: Progress, Martin Gasbichler |
| Next by Thread: | [Scsh-hackers] Re: select & buffering, Martin Gasbichler |
| Indexes: | [Date] [Thread] [Top] [All Lists] |