diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-11-18 13:28:12 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-11-18 13:28:12 -0800 |
| commit | 57b43b53f9c673545b25338eefa7f3c620d85aa4 (patch) | |
| tree | 654649e730e721c115bc4357674887e949985b5c /src/rt/rust_task.cpp | |
| parent | d1ef29ab37951f740a0fb13b75e3ea7d03432760 (diff) | |
| download | rust-57b43b53f9c673545b25338eefa7f3c620d85aa4.tar.gz rust-57b43b53f9c673545b25338eefa7f3c620d85aa4.zip | |
rt: Add comments to rust_task::yield
Diffstat (limited to 'src/rt/rust_task.cpp')
| -rw-r--r-- | src/rt/rust_task.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp index 6846a546fd7..c4ca82440bd 100644 --- a/src/rt/rust_task.cpp +++ b/src/rt/rust_task.cpp @@ -275,6 +275,7 @@ rust_task::yield(size_t time_in_us) { name, this, time_in_us); if (killed && !dead()) { + // Receive may have blocked before yielding unblock(); fail(); } |
