Changeset 8700 in vbox for trunk/src/VBox/Additions/linux/module
- Timestamp:
- May 8, 2008 11:47:27 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/module/cmc.c
r8693 r8700 30 30 { 31 31 VBoxDevice *dev = pvData; 32 wait_event (dev->eventq, pHeader->fu32Flags & VBOX_HGCM_REQ_DONE); 33 } 34 35 static DECLVBGL(void) 36 vboxadd_hgcm_callback_interruptible (VMMDevHGCMRequestHeader *pHeader, void *pvData, uint32_t u32Data) 37 { 38 VBoxDevice *dev = pvData; 32 39 wait_event_interruptible (dev->eventq, pHeader->fu32Flags & VBOX_HGCM_REQ_DONE); 33 40 } … … 37 44 switch (func) 38 45 { 46 /* this function can NOT handle cancelled requests */ 39 47 case IOCTL_VBOXGUEST_HGCM_CONNECT: 40 48 return VbglHGCMConnect (data, vboxadd_hgcm_callback, opaque, 0); 41 49 50 /* this function can NOT handle cancelled requests */ 42 51 case IOCTL_VBOXGUEST_HGCM_DISCONNECT: 43 52 return VbglHGCMDisconnect (data, vboxadd_hgcm_callback, opaque, 0); 44 53 54 /* this function can handle cancelled requests */ 45 55 case IOCTL_VBOXGUEST_HGCM_CALL: 46 return VbglHGCMCall (data, vboxadd_hgcm_callback , opaque, 0);56 return VbglHGCMCall (data, vboxadd_hgcm_callback_interruptible, opaque, 0); 47 57 48 58 default:
Note:
See TracChangeset
for help on using the changeset viewer.