REBOL3 tracker
  0.9.12 beta
Ticket #0002103 User: anonymous

Project:



rss
TypeBug Statussubmitted Date14-Feb-2014 18:03
Versionr3 master CategoryNative Submitted byabolka
PlatformAll Severitymajor Prioritynormal

Summary Busy loop in WAIT/all
Description When running the example code below, R3 enters a busy loop and does not return, instead of returning ports `p1`, `p2, and `p4` and the timeout value.

The error and reproduction code were reported by Shixin Zeng.
Example code
REBOL []

p1: open tcp://www.google.com
p2: open tcp://www.yahoo.com
p3: open tcp://www.abc.com
p4: open tcp://www.bbc.com
 
p1/awake: func [evt] [true]
p2/awake: func [evt] [true]
p3/awake: func [evt] [false]
p4/awake: func [evt] [true]
 
length? wait/all [p3 p1 p2 p4 10]  ;; Expected: == 4

Assigned ton/a Fixed in- Last Update13-May-2014 20:09


Comments
(0004430)
szeng
13-May-2014 20:09

I believe it's fixed by:

https://github.com/zsx/r3/commit/2b7516ebdb82f523cd036030aa54c77e0615e73d

Date User Field Action Change
13-May-2014 20:09 szeng Comment : 0004430 Added -
14-Feb-2014 18:34 abolka Description Modified -
14-Feb-2014 18:25 abolka Code Modified -
14-Feb-2014 18:22 abolka Code Modified -
14-Feb-2014 18:22 abolka Description Modified -
14-Feb-2014 18:22 abolka Code Modified -
14-Feb-2014 18:03 abolka Ticket Added -