Changeset 29661 in vbox for trunk/src/VBox/Runtime/r0drv/linux/semevent-r0drv-linux.c
- Timestamp:
- May 19, 2010 2:29:49 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/linux/semevent-r0drv-linux.c
r29648 r29661 142 142 int rc = VINF_SUCCESS; 143 143 long lTimeout = cMillies == RT_INDEFINITE_WAIT ? MAX_SCHEDULE_TIMEOUT : msecs_to_jiffies(cMillies); 144 #ifdef IPRT_DEBUG_SEMS 145 snprintf(current->comm, sizeof(current->comm), "e%lx", IPRT_DEBUG_SEMS_ADDRESS(pThis)); 146 #endif 144 IPRT_DEBUG_SEMS_STATE(pThis, 'e'); 147 145 for (;;) 148 146 { … … 182 180 183 181 finish_wait(&pThis->Head, &Wait); 184 #ifdef IPRT_DEBUG_SEMS 185 snprintf(current->comm, sizeof(current->comm), "e%lx:%d", IPRT_DEBUG_SEMS_ADDRESS(pThis), rc); 186 #endif 182 IPRT_DEBUG_SEMS_STATE_RC(pThis, 'e', rc); 187 183 return rc; 188 184 }
Note:
See TracChangeset
for help on using the changeset viewer.