Changeset 4e44f5d in mainline for uspace/lib/usbdev/src/devpoll.c
- Timestamp:
- 2018-01-16T23:52:18Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3f44312
- Parents:
- 338729c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/src/devpoll.c
r338729c r4e44f5d 107 107 assert(arg); 108 108 usb_polling_t *polling = arg; 109 110 fibril_mutex_lock(&polling->guard); 109 111 polling->running = true; 112 fibril_mutex_unlock(&polling->guard); 110 113 111 114 usb_pipe_t *pipe = &polling->ep_mapping->pipe; … … 208 211 } 209 212 213 fibril_mutex_lock(&polling->guard); 210 214 polling->running = false; 215 fibril_mutex_unlock(&polling->guard); 211 216 212 217 /* Notify joiners, if any. */
Note:
See TracChangeset
for help on using the changeset viewer.