Ignore:
Timestamp:
2018-01-31T23:31:05Z (7 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
53fdf8c
Parents:
2ca5a198
Message:

usbhost: add joinable_fibril utility

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/include/usb/host/utility.h

    r2ca5a198 r73a5857  
    5454int hc_device_explore(device_t *);
    5555
     56/** Joinable fibril */
     57
     58typedef int (*fibril_worker_t)(void *);
     59typedef struct joinable_fibril joinable_fibril_t;
     60
     61joinable_fibril_t *joinable_fibril_create(fibril_worker_t, void *);
     62void joinable_fibril_start(joinable_fibril_t *);
     63void joinable_fibril_join(joinable_fibril_t *);
     64void joinable_fibril_destroy(joinable_fibril_t *);
     65
     66
    5667#endif
    5768/**
Note: See TracChangeset for help on using the changeset viewer.