Stream: t-libs

Topic: Is #67907 suitable?


Lokathor (Jan 27 2020 at 23:26, on Zulip):

In https://github.com/rust-lang/rust/issues/67907 I asked for try_lock to be added to the standard IO handles.

Is this reasonable? Should I put in a PR? Seems like it'd be a fairly simple change (though I don't know how to add a feature flag).

Amanieu (Jan 28 2020 at 00:25, on Zulip):

What is the intended use case for this?

Lokathor (Jan 28 2020 at 00:27, on Zulip):

To be able to attempt to grab the handle in question without blocking if it's not currently available.

Last update: Feb 25 2020 at 04:20UTC