mirror of
https://github.com/golang/sys.git
synced 2026-02-08 03:36:03 +03:00
0b25a408a50076fbbcae6b7ac0ea5fbb0b085e79
Add support for the eventfd2 syscall on Linux. Use the eventfd2 syscall instead of eventfd, as the latter does not provide a flags argument and glibc also maps its eventfd() function to the eventfd2 syscall, see the Notes section in http://man7.org/linux/man-pages/man2/eventfd.2.html Also add the corresponding flags values EFD_CLOEXEC, EFD_NONBLOCK and EFD_SEMAPHORE. Change-Id: Ia8c99e68d5966ab5c7ebe7e45423943fd7d8214e Reviewed-on: https://go-review.googlesource.com/45093 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This repository holds supplemental Go packages for low-level interactions with the operating system. To submit changes to this repository, see http://golang.org/doc/contribute.html.
Description
Languages
Go
85.8%
Assembly
12.3%
Shell
1.7%
C
0.1%