Shahriar Vaghar
2018-09-08 16:40:35 UTC
Hello,
Please direct me to the right group if this not right one.
I am using named pipe for inter-process communication in my native
processes on android arm 64 (version > 24).
I use mkfifo to create the named pipe successfully. I set the size of the
pipe to 264KB.
The problems is the writer side reports EAGAIN (11) after writing less than
10KB in to the pipe and can never recover from the error.
aec_fd = open(pipe_name, O_WRONLY | O_SYNC | O_NONBLOCK);
pipeFD = open(pipe_name, O_RDONLY);
bytes_wrote = write(aec_fd, buffer, bytes);
Why the pipe overflows so fast? How do you recover from it?
Best regards, Shahriar
Please direct me to the right group if this not right one.
I am using named pipe for inter-process communication in my native
processes on android arm 64 (version > 24).
I use mkfifo to create the named pipe successfully. I set the size of the
pipe to 264KB.
The problems is the writer side reports EAGAIN (11) after writing less than
10KB in to the pipe and can never recover from the error.
aec_fd = open(pipe_name, O_WRONLY | O_SYNC | O_NONBLOCK);
pipeFD = open(pipe_name, O_RDONLY);
bytes_wrote = write(aec_fd, buffer, bytes);
Why the pipe overflows so fast? How do you recover from it?
Best regards, Shahriar
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/9a5577d9-c624-405d-ae65-a461782bf1e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/9a5577d9-c624-405d-ae65-a461782bf1e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.