/ Sep 13th, 2020 /

Support locking OS thread

Support locking each I/O event-loop goroutine to an OS thread

About this change

Add functional option LockOSThread used to determine whether each I/O event-loop is associated to an OS thread, it is useful when you need some kind of mechanisms like thread local storage, or invoke certain C libraries (such as graphics lib: GLib) that require thread-level manipulation via cgo, or want all I/O event-loops to actually run in parallel for a potential higher performance.

Get This Change

This kind of change with the `new feature` tag brings new features to gnet. Feel free to have a galance through all those commits of new features if you are interested.

Like What You See?