goruntime

package
v0.0.0-...-1a7aca4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package goruntime contains code for bootstrapping Go runtime features such as the memory allocator.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init() *kernel.Error

Init enables support for various Go runtime features. After a call to init the following runtime features become available for use:

  • heap memory allocation (new, make e.t.c)
  • map primitives
  • interfaces

func SetCPUCount

func SetCPUCount(numCPUs int32)

SetCPUCount registers the number of available CPUs with the Go runtime.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL