VirtualBox

Changeset 48171 in vbox


Ignore:
Timestamp:
Aug 29, 2013 8:08:38 PM (11 years ago)
Author:
vboxsync
Message:

crOpenGL: fix potential deadlock

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_cocoa_helper.m

    r48084 r48171  
    11791179        if (m_pSharedGLCtx)
    11801180            {
    1181 #if 0
     1181#if 1
    11821182            /* tmp workaround to prevent potential deadlock:
    11831183             * crOpenGL service thread does compositor lock acquire and calls cocoa NS methods that could synchronize on the GUI thread
     
    11951195            {
    11961196                /* re-issue to the gui thread */
    1197                 [self setNeedsDisplay:YES];
     1197# ifdef DEBUG_misha
     1198                DEBUG_WARN(("renderspuVBoxCompositorTryAcquire busy\n"));
     1199# endif
     1200                [NSTimer scheduledTimerWithTimeInterval:0.1 target:self selector:@selector(vboxTryDrawUI) userInfo:nil repeats:NO];
    11981201            }
    11991202            else
    12001203            {
    12011204                /* this is somewhat we do not expect */
    1202                 DEBUG_MSG(("renderspuVBoxCompositorTryAcquire failed rc %d", rc));
     1205                DEBUG_WARN(("renderspuVBoxCompositorTryAcquire failed rc %d", rc));
    12031206            }
    12041207#else
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette