rruntime

package
v1.5.0-rc.5 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2023 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Go

func Go(function func())

Go Starts the execution of the function passed as argument in a new Goroutine THING TO NOTE: If the function you are intending to run inside a goroutine takes any parameters, before calling this function, create local variable for every argument (so that evaluation of the argument happens immediately) and then pass those local variables as arguments Ex.

var worker *workerT
worker = &workerT{
  	workerID: i,
}
rruntime.Go(func() {
  	rt.workerProcess(worker)
})

func GoForWarehouse added in v0.1.10

func GoForWarehouse(function func())

Types

This section is empty.

Jump to

Keyboard shortcuts

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