Changeset d48fcc0 in mainline for uspace/lib/usb/include/usb/pipes.h
- Timestamp:
- 2011-04-09T09:45:14Z (12 years ago)
- Branches:
- lfn, master, serial
- Children:
- e9ce696
- Parents:
- a546687
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/include/usb/pipes.h
ra546687 rd48fcc0 60 60 * This endpoint must be bound with existing usb_device_connection_t 61 61 * (i.e. the wire to send data over). 62 * 63 * Locking order: if you want to lock both mutexes 64 * (@c guard and @c hc_phone_mutex), lock @c guard first. 65 * It is not necessary to lock @c guard if you want to lock @c hc_phone_mutex 66 * only. 62 67 */ 63 68 typedef struct { 69 /** Guard of the whole pipe. */ 70 fibril_mutex_t guard; 71 64 72 /** The connection used for sending the data. */ 65 73 usb_device_connection_t *wire; … … 79 87 /** Phone to the host controller. 80 88 * Negative when no session is active. 89 * It is an error to access this member without @c hc_phone_mutex 90 * being locked. 91 * If call over the phone is to be made, it must be preceeded by 92 * call to pipe_add_ref() [internal libusb function]. 81 93 */ 82 94 int hc_phone;
Note: See TracChangeset
for help on using the changeset viewer.