exclusive

command
v0.0.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2013 License: BSD-1-Clause Imports: 5 Imported by: 0

README

Exclusive

This program demonstrates how to obtain an exclusive lock on a given device. This ensures that you alone will receive events from it. Other processes will not.

This example will attempt to obtain a device lock for 5 seconds. Then releases it and exits.

Usage

$ go build
$ ./exclusive /dev/input/event0

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL