Changeset 76c07e4 in mainline for uspace/drv/block/ahci/ahci.c


Ignore:
Timestamp:
2012-07-21T23:15:18Z (12 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7aafdb86, 7deca26
Parents:
eb3683a
Message:

fix condition reset

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/block/ahci/ahci.c

    reb3683a r76c07e4  
    305305        fibril_mutex_lock(&sata->event_lock);
    306306       
     307        sata->event_pxis = 0;
    307308        while (sata->event_pxis == 0)
    308309                fibril_condvar_wait(&sata->event_condvar, &sata->event_lock);
    309310       
    310311        ahci_port_is_t pxis = sata->event_pxis;
    311         sata->event_pxis = 0;
    312312       
    313313        if (ahci_port_is_permanent_error(pxis))
Note: See TracChangeset for help on using the changeset viewer.