commit | 57b780fbc3e2c2442c2f58dcb83818e786246b35 | [log] [tgz] |
---|---|---|
author | Daichi Hirono <hirono@google.com> | Mon Mar 06 14:02:42 2017 +0900 |
committer | Daichi Hirono <hirono@google.com> | Tue Mar 14 09:09:29 2017 +0900 |
tree | cf2426a800b3566d8f65b884831bf75e42cd47e1 | |
parent | cc9d94ce04dbb63a745001323213bb667ea2e00f [diff] |
Add ReadOrAgain and WriteOrAgain methods to FuseMessage. These methods return kAgain if operation cannot be done without blocking the current thread. The CL also introduecs new helper function SetupMessageSockets so that FuseMessages are always transfered via sockets that save message boundaries. Bug: 34903085 Test: libappfuse_test Change-Id: I34544372cc1b0c7bc9622e581ae16c018a123fa9