Changeset 0fcccd9 in mainline for uspace/drv/hid/usbhid/main.c
- Timestamp:
- 2018-01-12T11:49:01Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 99a00a6
- Parents:
- fcdab1e
- git-author:
- Petr Manek <petr.manek@…> (2018-01-12 11:48:53)
- git-committer:
- Petr Manek <petr.manek@…> (2018-01-12 11:49:01)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/hid/usbhid/main.c
rfcdab1e r0fcccd9 144 144 145 145 /* Join polling fibril. */ 146 fibril_mutex_lock(&hid_dev-> guard);146 fibril_mutex_lock(&hid_dev->poll_guard); 147 147 while (hid_dev->running) 148 fibril_condvar_wait(&hid_dev->poll_ end, &hid_dev->guard);149 fibril_mutex_unlock(&hid_dev-> guard);148 fibril_condvar_wait(&hid_dev->poll_cv, &hid_dev->poll_guard); 149 fibril_mutex_unlock(&hid_dev->poll_guard); 150 150 151 151 /* Clean up. */
Note:
See TracChangeset
for help on using the changeset viewer.