Ignore:
Timestamp:
04/19/06 15:42:06 (6 years ago)
Author:
aj
Message:

new locking strategy: claim the control interface so only one
process will be able to use any usb device at any give time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ifd/sys-bsd.c

    r796 r831  
    1818#include <sys/ioctl.h> 
    1919#include <sys/poll.h> 
     20#include <sys/file.h> 
    2021#include <string.h> 
    2122#include <stdio.h> 
     
    328329} 
    329330 
    330 int ifd_sysdep_usb_open(const char *device, int flags) 
    331 { 
    332         return open(device, O_EXCL | O_RDWR); 
     331int ifd_sysdep_usb_open(const char *device) 
     332{ 
     333        return open(device, O_RDWR); 
    333334} 
    334335 
Note: See TracChangeset for help on using the changeset viewer.