I need to be able to reproduce this before I can fix it, but my attempts
to reproduce it by adding a destructor to GLXspheres and calling
XGetSelectionOwner() within the destructor failed. I also tried calling
xcb_poll_for_event() within the body of my destructor function, but it
just returned NULL without doing anything.
Please help me understand exactly what's going on here and how I can
reproduce the problem without using MainWin.
On 7/8/16 9:33 AM, Nathan Kidd wrote:
> On 07/07/16 06:01 PM, DRC wrote:
>> I'll need to sit down and focus on this when I have no distractions,
>> because it raises a couple of red flags in my mind. Stand by.
> Some things I mulled over, not long enough or distraction-less enough:
>
> 1. this no longer blocks any globalMutex-checking caller from using VGL
> resources during cleanup()
>
> 2. but XFree() is the only call, besides (newly) xcb_poll_for_event()
> attempting to use this guard for resource access and they're both via
> isDead() which will do the right thing (i.e. not access if dead)
>
> 3. which makes me think about whether we need isDead protection for all
> resource access (since _fini() proves we aren't dead just because we
> said exit(1). But that way seems cumbersome and non-performant, not to
> mention and the way of more potential deadlocks.
>
> Worthy of a long think indeed.
>
> /me returns to other distractions
>
>
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
VirtualGL-Devel mailing list
VirtualGL-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtualgl-devel