This is an archive of the discontinued LLVM Phabricator instance.

[libc][rpc] Fold can send/recv into buffer_unavailable
ClosedPublic

Authored by JonChesterfield on May 3 2023, 6:34 PM.

Details

Summary

Left out of D149788 to simplify the diff

Diff Detail

Event Timeline

JonChesterfield created this revision.May 3 2023, 6:34 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMay 3 2023, 6:34 PM
JonChesterfield requested review of this revision.May 3 2023, 6:34 PM

I actually like the named function for this operation, it makes it much more readable. How about can_use_buffer or similar.

It's always used negated, buffer_unavailable?

It's always used negated, buffer_unavailable?

Works for me

  • name the operation
  • with Process annotation
JonChesterfield retitled this revision from [libc][rpc] Simplify can send/recv to [libc][rpc] Fold can send/recv into buffer_unavailable.May 4 2023, 3:28 AM
jhuber6 accepted this revision.May 4 2023, 4:22 AM
This revision is now accepted and ready to land.May 4 2023, 4:22 AM