Boost logo

Boost Users :

From: Steven Wooding (steve.apo_at_[hidden])
Date: 2006-07-26 12:17:38


Hi Ion,

I've noticed that the "file" /dev/shmem/sem.boost_shmem_shm_global_mutex
keeps hanging around after my program finishes. This file has write
permission only for the user that created it. When different user comes
along a runs another program that uses shmem, it seg faults on sem_wait(),
probably due to the file permissions.

Should this global mutex be cleaned up after use? Or could the permissions
be changed somehow to let other use it (though probably not a good idea if
user A and user B run a shmem based program at the same time).

Thanks for your advice.

Cheers,

Steve.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net