Changeset 5bee897 in mainline for uspace/srv/devman/devman.h


Ignore:
Timestamp:
2010-11-30T13:42:11Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
703d19c
Parents:
1b2981aa
Message:

Fix deadlock in devman

The driver mutex is released during device adding to release the
deadlock when adding child device driven by the same task.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/devman/devman.h

    r1b2981aa r5bee897  
    168168         */
    169169        link_t devmap_link;
     170
     171        /**
     172         * Whether this device was already passed to the driver.
     173         */
     174        bool passed_to_driver;
    170175};
    171176
Note: See TracChangeset for help on using the changeset viewer.