Changeset 3fb5a3e in mainline for uspace/drv/usbhub/ports.c
- Timestamp:
- 2011-05-28T14:34:43Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- af6136d
- Parents:
- 400735e
- File:
-
- 1 edited
-
uspace/drv/usbhub/ports.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhub/ports.c
r400735e r3fb5a3e 407 407 free(arg); 408 408 409 fibril_mutex_lock(&data->hub->pending_ops_mutex); 410 assert(data->hub->pending_ops_count > 0); 411 data->hub->pending_ops_count--; 412 fibril_condvar_signal(&data->hub->pending_ops_cv); 413 fibril_mutex_unlock(&data->hub->pending_ops_mutex); 414 415 409 416 return EOK; 410 417 } … … 452 459 return ENOMEM; 453 460 } 461 fibril_mutex_lock(&hub->pending_ops_mutex); 462 hub->pending_ops_count++; 463 fibril_mutex_unlock(&hub->pending_ops_mutex); 454 464 fibril_add_ready(fibril); 455 465
Note:
See TracChangeset
for help on using the changeset viewer.
