Changeset d5ac90f in mainline for uspace/lib/usb/include/usb/pipes.h


Ignore:
Timestamp:
2011-04-09T08:27:57Z (14 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a546687
Parents:
61727bf
Message:

Serialization of IPC requests over pipe phone

The pipe phone is now guarded by a fibril mutex.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/include/usb/pipes.h

    r61727bf rd5ac90f  
    4242#include <ipc/devman.h>
    4343#include <ddf/driver.h>
     44#include <fibril_synch.h>
    4445
    4546/** Abstraction of a physical connection to the device.
     
    8081         */
    8182        int hc_phone;
     83
     84        /** Guard for serialization of requests over the phone. */
     85        fibril_mutex_t hc_phone_mutex;
    8286} usb_pipe_t;
    8387
Note: See TracChangeset for help on using the changeset viewer.