How to use Freefem plugin with mmap and semaphore in parallel

Dear Freefem team, I was wondering if there is any example shows a way to use mmap and semaphore in freefem in parallel computing? In sequential case, the example on your web page is very useful to me. However, I have a problem to implement it in parallel version. Thank you so much.

If you use the code on processor 0 of the mpi , I think all must be ok if the mpi do not use semaphore.

let me try it, thank you.