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

Changeset 0b90f49 in mainline for uspace/drv/bus/usb/usbhub/usbhub.h


Ignore:
Timestamp:
2018-01-12T11:32:53Z (4 years ago)
Author:
Petr Manek <petr.manek@…>
Branches:
lfn, master
Children:
b233821
Parents:
46c5dc2
Message:

usbhub: joining polling fibril

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/usbhub/usbhub.h

    r46c5dc2 r0b90f49  
    7474        ddf_fun_t *hub_fun;
    7575        /** Status indicator */
    76         bool running;
     76        volatile bool running;
    7777        /** Hub supports port power switching. */
    7878        bool power_switched;
    7979        /** Each port is switched individually. */
    8080        bool per_port_power;
     81        /** True if the device should stop running as soon as possible. */
     82        volatile bool poll_stop;
     83        fibril_mutex_t poll_guard;
     84        fibril_condvar_t poll_cv;
    8185};
    8286
Note: See TracChangeset for help on using the changeset viewer.