Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb435796

Browse files
dsymeKevinRansom
authored andcommitted
fix TryReceive hot wait (dotnet#4818)
1 parentb1a5c68 commitb435796

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

‎src/fsharp/FSharp.Core/control.fs‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2011,9 +2011,8 @@ namespace Microsoft.FSharp.Control
20112011
// If it isn't, then create it, and go back to the start to
20122012
// check arrivals again.
20132013
match pulsewith
2014-
|null->
2015-
if timeout>=0|| cancellationSupportedthen
2016-
ensurePulse()|> ignore
2014+
|nullwhen timeout>=0|| cancellationSupported->
2015+
ensurePulse()|> ignore
20172016
return! processFirstArrival()
20182017
|_->
20192018
// Wait until we have been notified about a message. When that happens, rescan the arrivals

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp