Changeset 15983 in vbox for trunk/src/libs/xpcom18a4
- Timestamp:
- Jan 16, 2009 9:23:30 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/ipc/ipcd/extensions/dconnect/src/ipcDConnectService.cpp
r15974 r15983 2797 2797 { 2798 2798 nsAutoLock lock(mLock); 2799 #ifdef VBOX/* tracking an illegal join in Shutdown. */2799 /* tracking an illegal join in Shutdown. */ 2800 2800 NS_ASSERTION(!mDisconnected, "CreateWorker racing Shutdown"); 2801 #endif2802 2801 if (!mWorkers.AppendElement(worker)) 2803 2802 rv = NS_ERROR_OUT_OF_MEMORY; … … 2858 2857 nsresult rv; 2859 2858 2859 LOG(("ipcDConnectService::Init.\n")); 2860 2860 2861 rv = IPC_DefineTarget(kDConnectTargetID, this); 2861 2862 if (NS_FAILED(rv)) … … 2902 2903 return NS_ERROR_OUT_OF_MEMORY; 2903 2904 2904 #ifdef VBOX2905 2905 /* The DConnectWorker::Run method checks the ipcDConnectService::mDisconnected. 2906 2906 * So mDisconnect must be set here to avoid an immediate exit of the worker thread. 2907 2907 */ 2908 2908 mDisconnected = PR_FALSE; 2909 #endif /* VBOX */2910 2909 2911 2910 // create a single worker thread 2912 2911 rv = CreateWorker(); 2913 2912 if (NS_FAILED(rv)) 2914 #ifndef VBOX2915 return rv;2916 #else /* VBOX */2917 2913 { 2918 2914 mDisconnected = PR_TRUE; 2919 2915 return rv; 2920 2916 } 2921 #endif /* VBOX */2922 2917 2923 2918 #endif … … 2926 2921 mInstance = this; 2927 2922 2923 LOG(("ipcDConnectService::Init NS_OK.\n")); 2928 2924 return NS_OK; 2929 2925 }
Note:
See TracChangeset
for help on using the changeset viewer.