Opened 9 years ago
Last modified 2 years ago
#1303 new defect
File ports should be nonblocking
| Reported by: | sjamaan | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 6.0.0 |
| Component: | unknown | Version: | 4.11.0 |
| Keywords: | Cc: | ||
| Estimated difficulty: | hard |
Description (last modified by )
As shown by this ugly little program, reading from regular files blocks.
(use srfi-18) (thread-start! (lambda () (let lp () (print "spinning") (thread-sleep! 0.2) (lp)))) (thread-start! (lambda () (with-input-from-file "/dev/tty" (lambda () (let lp () (print (cons 'read-from-tty (read))) (lp)))))) (thread-sleep! 1000)
Change History (3)
comment:1 Changed 9 years ago by
| Description: | modified (diff) |
|---|
comment:2 Changed 9 years ago by
| Estimated difficulty: | → hard |
|---|
comment:3 Changed 2 years ago by
| Milestone: | someday → 6.0.0 |
|---|
Note: See
TracTickets for help on using
tickets.
