Skip to content

Commit 3047614

Browse files
committed
auto merge of #15044 : alexcrichton/rust/speed-up-select, r=kballard
This was erroneously disabled as part of 065e121 and it hasn't been turned on since. This was a 3x perf improvement in a test of mine.
2 parents 75eb50d + 4170626 commit 3047614

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsync/comm/select.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ impl Select {
132132
/// event could either be that data is available or the corresponding
133133
/// channel has been closed.
134134
pub fn wait(&self) -> uint {
135-
self.wait2(false)
135+
self.wait2(true)
136136
}
137137

138138
/// Helper method for skipping the preflight checks during testing

0 commit comments

Comments
 (0)