Skip to content

Commit

Permalink
site: add a highlight of new feature
Browse files Browse the repository at this point in the history
Related to panjf2000#133
  • Loading branch information
panjf2000 committed Sep 13, 2020
1 parent 6fd6413 commit 2db5ff0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions website/highlights/2020-09-13-supported-locking-os-thread.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
last_modified_on: "2020-09-13"
$schema: "/.meta/.schemas/highlights.json"
title: "Support locking OS thread"
description: "Support locking each I/O event-loop goroutine to an OS thread"
author_github: "https://github.com/panjf2000"
pr_numbers: [6fd6413]
release: "features"
hide_on_release_notes: false
tags: ["type: new feature", "domain: thread", "platform: arm64"]
---

## 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.
2 changes: 1 addition & 1 deletion website/metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
"date": "2020-05-11",
"description": "Released v1.2.0",
"hide_on_release_notes": false,
"id": "2020-07-05-releasing-1-2-0",
"id": "2020-05-11-released-1-2-0",
"path": "website/highlights/2020-05-11-released-1-2-0.md",
"permalink": "/highlights/2020-05-11-released-1-2-0/",
"tags": [
Expand Down

0 comments on commit 2db5ff0

Please sign in to comment.