Commit Graph

7 Commits

Author SHA1 Message Date
tidwall 34ff08a426 Fix tick event consuming 100% CPU
fixes #61
2020-01-12 11:11:17 -07:00
coyove 04673f038e Fix Poll.Trigger byte order bug under linux 2019-09-22 19:30:38 +08:00
tidwall b353be3a76 Fix for linux/arm64 2019-01-14 12:23:58 -07:00
Josh Baker dd88755b17 Added multithreaded support
It's now possible to fire up multiple event loops in separate
goroutines. All that's needed is to set the `events.NumLoops` options
before calling `Serve`.

There are a few breaking API changes.

- The events pass an evio.Conn param that represents the unique
incoming socket connection.
- Prewrite and Postwrite events have been removed.
- Wake and Dial functions have been removed.
- The Transform utility has been removed.

The older version has been tagged as `v0.1.0` for vendoring purposes.
2018-05-23 16:49:45 -07:00
Josh Baker 5641498bcd return accurate local addr on open
Use the write event before the read event and wait for an accurate local
address prior to firing the Opened event.
2017-11-08 16:45:30 -07:00
Josh Baker 99cbc8cb19 license message 2017-11-02 08:08:18 -07:00
Josh Baker 6d5eca9acd refactor internal sockopts 2017-10-28 12:23:13 -07:00