diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-03-01 21:18:58 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-03-01 21:18:58 -0800 |
| commit | 97614393e450b6c6813021f0e733b864a6265872 (patch) | |
| tree | 31c8d4d0b2206e944f797b291660d8cf52eebea0 /src/platform | |
| parent | 5436cc9e1619bf1dd80fabb568aac344ae65d406 (diff) | |
| download | nng-97614393e450b6c6813021f0e733b864a6265872.tar.gz nng-97614393e450b6c6813021f0e733b864a6265872.tar.bz2 nng-97614393e450b6c6813021f0e733b864a6265872.zip | |
Start of msgq aio.
Diffstat (limited to 'src/platform')
| -rw-r--r-- | src/platform/posix/posix_aiothr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/platform/posix/posix_aiothr.c b/src/platform/posix/posix_aiothr.c index 8378eb79..013e4599 100644 --- a/src/platform/posix/posix_aiothr.c +++ b/src/platform/posix/posix_aiothr.c @@ -64,7 +64,7 @@ nni_plat_aiothr_write(int fd, nni_aio *aio) aio->a_count += n; progress += n; while (n) { - // If we didn't finish the at once, try again. + // If we didn't finish it yet, try again. if (n < iovp->iov_len) { iovp->iov_len -= n; iovp->iov_base += n; @@ -128,7 +128,7 @@ nni_plat_aiothr_read(int fd, nni_aio *aio) aio->a_count += n; progress += n; while (n) { - // If we didn't finish the at once, try again. + // If we didn't finish it yet, try again. if (n < iovp->iov_len) { iovp->iov_len -= n; iovp->iov_base += n; |
