concurrent

package
v0.0.0-...-d5cdf10 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BufferedChannel

func BufferedChannel()

func Channel

func Channel()

func GoRoutine

func GoRoutine()

func SelectChannel

func SelectChannel()
select默认是阻塞的,只有当监听的channel中有发送或接收可以进行时才会运行。

当多个channel都准备好的时候,select是随机的选择一个执行的。

Types

This section is empty.

Jump to

Keyboard shortcuts

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