[PATCH] D21982: WIP: Implement a per-thread inmemory log
Mehdi AMINI via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 5 22:36:10 PDT 2016
mehdi_amini added inline comments.
================
Comment at: lib/xray/xray_inmemory_log.cc:71
@@ +70,3 @@
+ auto Written = write(Fd, Begin, Items * sizeof(XRayRecord));
+ if (Written <= 0) {
+ if (errno == EINTR)
----------------
majnemer wrote:
> I don't believe `write` can actually return zero for this case.
When does write can actually return zero according to the spec?
http://reviews.llvm.org/D21982
More information about the llvm-commits
mailing list