Re: [PATCH] xlib/shm: Sync the XShmAttach before removing the ShmSegment id
Thomas Klausner <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Oct 19, 2012 at 12:11:59PM +0100, Chris Wilson wrote: > Whilst reading through other users of XShm, it became apparent that > IPC_RMID behaves differently across the platforms. Linux allows > processes to attach to an existing ShmSegment id after a IPC_RMID, but > for others the IPC_RMID takes immediate effect. On those platforms > without a "deferred" IPC_RMID, we then need to perform the XShmAttach > synchronously before perfomring the IPC_RMID. > > Reported-by: Thomas Klausner <[email protected]> > Signed-off-by: Chris Wilson <[email protected]> > --- > > Thomas, can you please test the configure magic on your NetBSD box? Ok, I can confirm it works on the machine locally as well. Also, tron@ tested on his OS X machine and his problem seems gone as well. Thank you very much! Thomas -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo