Hello experts!
Consider this: two or more applications want to communicate over named
pipes (mkfifo), is there a recommended location on Android filesystem
to create the named pipe?
So far, I know:
-- that OS would not permit mkfifo anywhere on /sdcard
-- that it is possible to create a pipe in /data/data/<main class
name>, but the very need to know the class name is a no go because
application is ported from other OS and it would require a design
change to poke a hole and allow initial access
-- OS allowed me create a pipe in /sqlite_stmt_journals, but is it
"legal" to do it there? Are there any downsides for that?
I assume there must be a need for this kind of temporary exchange.
Named pipes is just one of them. Lock files, Unix domain sockets and
probably just about anything inter-process in Linux would require this
kind of location. Considering that the purpose of NDK is to allow
porting of existing codebase, there should be such location...
Thanks,
Ignas
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to
andro...@googlegroups.com.
To unsubscribe from this group, send email to
android-ndk...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/android-ndk?hl=en.