Changeset 353f8cc in mainline for uspace/srv/audio/hound/hound.c


Ignore:
Timestamp:
2013-04-05T18:12:23Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fb14905
Parents:
2373ba7
Message:

hound: make sure all streams are gone before removing context

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/audio/hound/hound.c

    r2373ba7 r353f8cc  
    148148        if (!ctx)
    149149                return EINVAL;
     150        if (!list_empty(&ctx->streams))
     151                return EBUSY;
    150152        fibril_mutex_lock(&hound->list_guard);
    151153        list_remove(&ctx->link);
Note: See TracChangeset for help on using the changeset viewer.