mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime: add a simple version number parser
This will be used to parse the Linux kernel versions, but this code is generic and can be tested on its own. For #35777. Change-Id: If1df48d07250e5855dde45bc9d57c66f777b9fb4 Reviewed-on: https://go-review.googlesource.com/c/go/+/209597 Run-TryBot: Austin Clements <austin@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
709dbd2870
commit
fa3a121a79
3 changed files with 67 additions and 0 deletions
|
|
@ -43,6 +43,8 @@ var PhysHugePageSize = physHugePageSize
|
|||
|
||||
var NetpollGenericInit = netpollGenericInit
|
||||
|
||||
var ParseRelease = parseRelease
|
||||
|
||||
const PreemptMSupported = preemptMSupported
|
||||
|
||||
type LFNode struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue