Changeset 7862 in vbox
- Timestamp:
- Apr 10, 2008 9:18:44 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedFolders/service.cpp
r7813 r7862 281 281 SHFLCLIENTDATA *pClient = (SHFLCLIENTDATA *)pvClient; 282 282 283 uint8_t AsynchronousProcessing = 0;283 bool fAsynchronousProcessing = false; 284 284 285 285 #ifdef DEBUG … … 659 659 AssertMsgFailed(("Invalid handle!!!!\n")); 660 660 rc = VERR_INVALID_HANDLE; 661 } 662 else if (flags & SHFL_LOCK_WAIT) 663 { 664 /* @todo This should be properly implemented by the shared folders service. 665 * The service thread must never block. If an operation requires 666 * blocking, it must be processed by another thread and when it is 667 * completed, the another thread must call 668 * 669 * g_pHelpers->pfnCallComplete (callHandle, rc); 670 */ 671 672 /* Operation is async. */ 673 fAsynchronousProcessing = true; 674 675 /* Here the operation must be posted to another thread. At the moment it is not implemented. */ 676 rc = VERR_NOT_SUPPORTED; 661 677 } 662 678 else … … 1059 1075 LogFlow(("svcCall: rc = %Vrc\n", rc)); 1060 1076 1061 if (!AsynchronousProcessing) 1077 if ( !fAsynchronousProcessing 1078 || VBOX_FAILURE (rc)) 1062 1079 { 1080 /* Complete the operation if it was unsuccessful or 1081 * it was processed synchronously. 1082 */ 1063 1083 g_pHelpers->pfnCallComplete (callHandle, rc); 1064 1084 }
Note:
See TracChangeset
for help on using the changeset viewer.