From 6271bd8a84ffc947ded8cc5936aca8cef30a0e2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Geisend=C3=B6rfer?= Date: Tue, 16 Mar 2021 17:26:35 +0100 Subject: [PATCH] Make it easier to link feature matrix --- goroutine.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/goroutine.md b/goroutine.md index b2192c5..9eaf200 100644 --- a/goroutine.md +++ b/goroutine.md @@ -7,6 +7,7 @@ This document was last updated for `go1.15.6` but probably still applies to olde - [Description](#description) - [Overhead](#overhead) - [Goroutine Properties](#goroutine-properties) +- [Feature Matrix](#feature-matrix) - [APIs](#apis) - [History](#history) - [Disclaimers](#disclaimers) @@ -53,6 +54,8 @@ Goroutines have a lot of [properties](https://github.com/golang/go/blob/go1.15.6 - [`gopc`](https://github.com/golang/go/blob/go1.15.6/src/runtime/runtime2.go#L466): The program counter address (pc) of the `go ...` call that caused this goroutine to be created. Can be converted to the file, function name and line number. - [`lockedm`](https://github.com/golang/go/blob/go1.15.6/src/runtime/runtime2.go#L460): The thread this goroutine is locked to, if any. +## Feature Matrix + The feature matrix below give you a quick idea on the current availability of these properties through the various APIs. Also available as a [google sheet](https://docs.google.com/spreadsheets/d/1txMRjhDA0NC9eSNRRUMMFI5uWJ3FBnACGVjXYT1gKig/edit?usp=sharing). ![goroutine feature matrix](./goroutine-matrix.png)