labath added inline comments.

================
Comment at: include/lldb/Host/Host.h:252
+    result = f(args...);
+  while (result == fail_value && errno == EINTR);
+  return result;
----------------
krytarowski wrote:
> Will this build on Windows for their native API? If so, will it be useful 
> there?
It will build, although it will probably be a no-op. Some windows apis (i guess 
just the posix-compatibility ones) use errno, although I don't know if they can 
actually fail with EINTR.  It's still useful in generic code, as some of those 
apis are used in shared code.


https://reviews.llvm.org/D33831



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to