How does Android logger supports multiprocess file write synchronization?

Viewed 204

Looking at the Android logger framework it is clear the all application writes into a same device file /dev/log/mainfor main buffer.It is a character device file.

Android logging library source code is located here. According to the code there is no process based file write synchronization except thread synchronization using pthread lock.

My question is that :

How does across process file write synchronization happens in this logging model?

Is it because of restricted buffer size write?

0 Answers
Related