Re: [PATCH] xlib/shm: Sync the XShmAttach before removing the ShmSegment id
Chris Wilson <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 20 Oct 2012 02:49:15 +0200, Thomas Klausner <[email protected]> wrote: > 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. Thanks for testing the patch, I've pushed it to master and will make a new release over the w/e. -Chris -- Chris Wilson, Intel Open Source Technology Centre -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo