mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
O_RDONLY open on FIFO blocks until writer opens
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@781 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -127,7 +127,7 @@ static void *reader(pthread_addr_t pvarg)
|
||||
if (nbytes > NREAD_BYTES)
|
||||
{
|
||||
fprintf(stderr, "reader: Too many bytes read -- aborting: %d\n", nbytes);
|
||||
return (void*)3;
|
||||
return (void*)4;
|
||||
}
|
||||
}
|
||||
printf("reader: %d bytes read\n", nbytes);
|
||||
|
||||
Reference in New Issue
Block a user