Mario Charest
|
Re: shared memory persistence
|
Mario Charest
03/12/2008 10:20 AM
post5730
|
Re: shared memory persistence
> Hello, qnx experts,
>
> In qnx, dose the shared memory object(SMO) ever have a chance to be written to
> stable storage?
>
> We want to write some trash bytes to the SMO file and sync it before we unlink
> it to secure the information inside it, but fsync is not implemented for SMOs
> on QNX, so dose this mean that after the SMO is unlinked, the information it
> contains may still exist on some stable storage?
>
> Thanks.
>
> --david
Yes, as long as someone as it open it will not be "unlinked". Note that after it's unliked it becomes invisible an
nobody else can open it, but it will still exists as long it is open by at least one client.
|
|
|