Changeset 30487 in vbox
- Timestamp:
- Jun 29, 2010 1:06:35 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/crOpenGL/load.c
r30486 r30487 754 754 const char *app_id; 755 755 int i; 756 int disable_sync = 0; 756 757 757 758 if (stub_initialized) … … 762 763 crGetProcName(response, 1024); 763 764 crDebug("Stub launched for %s", response); 765 766 #if defined(CR_NEWWINTRACK) && !defined(WINDOWS) 767 /*@todo when vm boots with compiz turned on, new code causes hang in xcb_wait_for_reply in the sync thread*/ 768 if (!crStrcmp(response, "compiz") || !crStrcmp(response, "compiz_real")) 769 { 770 disable_sync = 1; 771 } 772 #endif 764 773 765 774 /* @todo check if it'd be of any use on other than guests, no use for windows */ … … 852 861 RTR3Init(); 853 862 854 crDebug("Starting sync thread"); 855 856 rc = RTThreadCreate(&stub.hSyncThread, stubSyncThreadProc, NULL, 0, RTTHREADTYPE_DEFAULT, RTTHREADFLAGS_WAITABLE, "Sync"); 857 if (RT_FAILURE(rc)) 858 { 859 crError("Failed to start sync thread! (%x)", rc); 860 } 861 RTThreadUserWait(stub.hSyncThread, 60 * 1000); 862 RTThreadUserReset(stub.hSyncThread); 863 864 crDebug("Going on"); 863 if (!disable_sync) 864 { 865 crDebug("Starting sync thread"); 866 867 rc = RTThreadCreate(&stub.hSyncThread, stubSyncThreadProc, NULL, 0, RTTHREADTYPE_DEFAULT, RTTHREADFLAGS_WAITABLE, "Sync"); 868 if (RT_FAILURE(rc)) 869 { 870 crError("Failed to start sync thread! (%x)", rc); 871 } 872 RTThreadUserWait(stub.hSyncThread, 60 * 1000); 873 RTThreadUserReset(stub.hSyncThread); 874 875 crDebug("Going on"); 876 } 865 877 } 866 878 #endif
Note:
See TracChangeset
for help on using the changeset viewer.