]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When doing a blocking write, keep looping until all the bytes are
authorjb <jb@FreeBSD.org>
Mon, 25 May 1998 21:45:52 +0000 (21:45 +0000)
committerjb <jb@FreeBSD.org>
Mon, 25 May 1998 21:45:52 +0000 (21:45 +0000)
commitba8f020407e5e217f39a38087c3a46f8d5c06663
tree1dd612d4d3864e4c526e91d87945e185ffef8ddb
parent54a1a03bbacad3589402df31156cbf1f19bb1236
When doing a blocking write, keep looping until all the bytes are
written without returning to the caller. This only occurs on pipes
where either the number of bytes written is greater than the pipe
buffer or if there is insufficient space in the pipe buffer because the
reader is reading slower than the writer is writing.
lib/libc_r/uthread/uthread_write.c
lib/libc_r/uthread/uthread_writev.c
lib/libkse/thread/thr_write.c
lib/libkse/thread/thr_writev.c
lib/libpthread/thread/thr_write.c
lib/libpthread/thread/thr_writev.c