Changeset 0fcccd9 in mainline for uspace/drv/hid/usbhid/usbhid.h


Ignore:
Timestamp:
2018-01-12T11:49:01Z (6 years ago)
Author:
Petr Manek <petr.manek@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
99a00a6
Parents:
fcdab1e
git-author:
Petr Manek <petr.manek@…> (2018-01-12 11:48:53)
git-committer:
Petr Manek <petr.manek@…> (2018-01-12 11:49:01)
Message:

usbhid: refactoring

Renamed polling synchronization primitives with the same convention as
in usbhub. Added some documentation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/hid/usbhid/usbhid.h

    rfcdab1e r0fcccd9  
    132132        volatile bool running;
    133133
    134         volatile bool will_deinit;
    135         fibril_mutex_t guard;
    136         fibril_condvar_t poll_end;
     134        /** True if polling should stop as soon as possible */
     135        volatile bool poll_stop;
     136
     137        /** Synchronization primitives for joining polling end. */
     138        fibril_mutex_t poll_guard;
     139        fibril_condvar_t poll_cv;
    137140};
    138141
Note: See TracChangeset for help on using the changeset viewer.