07-28-07 06:24 AM
sgsnewsgrp@gmail.com writes:
>
>Does anyone know if mmap is thread safe? I didn't catch any thread
>references in the man page.
>
>I'm using mmap on a local file which is read into memory for searching
>- no updates
>
>Thanks
>
Yes, it is safe. Do be aware that it is up to the application to arbitrate
access to the mapped pages.
scott
[ Post a follow-up to this message ]
|