[Cbe-oss-dev] [PATCH 1/2] [manpages] spufs.7: clarify ibox description
jk at ozlabs.org
Wed Dec 19 15:15:21 EST 2007
Add a little information about the differences to mbox
Signed-off-by: Jeremy Kerr <jk at ozlabs.org>
spufs.7 | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
@@ -198,9 +198,18 @@ the data buffer and the value four is re
The second SPU-to-CPU communication mailbox.
This file is similar to the first mailbox file, but can be read
-in blocking I/O mode, thus
+in blocking I/O mode, thus calling
+.BR read (2)
+on an open
+file will block until the SPU has written data to its interrupt mailbox
+channel (unless the file has been opened with
+.BR O_NONBLOCK ,
+see below). Also,
.BR poll (2)
-and similar system calls can be used to monitor this file.
+and similar system calls can be used to monitor for the presence
+of mailbox data.
The possible operations on an open
More information about the cbe-oss-dev