rt: Add comments to rust_task::yield

This commit is contained in:
Brian Anderson 2011-11-18 13:28:12 -08:00
parent d1ef29ab37
commit 57b43b53f9
1 changed files with 1 additions and 0 deletions

View File

@ -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();
}