task_mgr

package
v0.0.0-...-8546448 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Task

type Task struct {
	// contains filtered or unexported fields
}

type TaskMgr

type TaskMgr struct {
	// contains filtered or unexported fields
}

func (*TaskMgr) Destroy

func (t *TaskMgr) Destroy()

func (*TaskMgr) Initialise

func (t *TaskMgr) Initialise(taskMgrName string, goroutineCount uint64, taskQueueBlocking bool, taskQueueMaxSize uint64)

func (*TaskMgr) PopTask

func (t *TaskMgr) PopTask() (Task, error)

func (*TaskMgr) PushTask

func (t *TaskMgr) PushTask(task Task) error

func (*TaskMgr) Run

func (t *TaskMgr) Run(detach bool)

func (*TaskMgr) RunAndWait

func (t *TaskMgr) RunAndWait(detach bool)

func (*TaskMgr) Wait

func (t *TaskMgr) Wait()

Jump to

Keyboard shortcuts

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