Changeset edc51615 in mainline


Ignore:
Timestamp:
2018-01-13T22:04:45Z (6 years ago)
Author:
Petr Manek <petr.manek@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8b71f3e
Parents:
91173333
Message:

usbdev: small fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbdev/src/devpoll.c

    r91173333 redc51615  
    206206        data->running = false;
    207207
    208         if (data->joining) {
    209                 /* Notify joiners, if any. */
    210                 fibril_mutex_lock(&data->guard);
    211                 fibril_condvar_signal(&data->cv);
    212                 fibril_mutex_unlock(&data->guard);
    213         } else {
     208        /* Notify joiners, if any. */
     209        fibril_condvar_broadcast(&data->cv);
     210
     211        /* Free allocated memory. */
     212        if (!data->joining) {
    214213                polling_fini(data);
    215214        }
Note: See TracChangeset for help on using the changeset viewer.