Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 76c07e4 in mainline


Ignore:
Timestamp:
2012-07-21T23:15:18Z (9 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
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.