Documentation
¶
Index ¶
- type JoinedThread
- type OnPanic
- type Pool
- type Spawner
- type Thread
- func (t *Thread) IsDone() bool
- func (t *Thread) Kill(after func()) bool
- func (t *Thread) Killed() bool
- func (th *Thread) Read(f func(*Thread), joined ...*JoinedThread)
- func (th *Thread) ReadInstant(f func(*Thread), joined ...*JoinedThread)
- func (th *Thread) Write(f func(*Thread), joined ...*JoinedThread)
- func (th *Thread) WriteInstant(f func(*Thread), joined ...*JoinedThread)
- func (th *Thread) WriteInstantStarving(f func(*Thread), joined ...*JoinedThread)
- func (th *Thread) WriteStarving(f func(*Thread), joined ...*JoinedThread)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JoinedThread ¶
type JoinedThread struct {
// contains filtered or unexported fields
}
func R ¶
func R(t *Thread) *JoinedThread
func W ¶
func W(t *Thread) *JoinedThread
func WS ¶
func WS(t *Thread) *JoinedThread
type Thread ¶
type Thread struct {
// contains filtered or unexported fields
}
func (*Thread) Read ¶
func (th *Thread) Read(f func(*Thread), joined ...*JoinedThread)
func (*Thread) ReadInstant ¶
func (th *Thread) ReadInstant(f func(*Thread), joined ...*JoinedThread)
func (*Thread) Write ¶
func (th *Thread) Write(f func(*Thread), joined ...*JoinedThread)
func (*Thread) WriteInstant ¶
func (th *Thread) WriteInstant(f func(*Thread), joined ...*JoinedThread)
func (*Thread) WriteInstantStarving ¶
func (th *Thread) WriteInstantStarving(f func(*Thread), joined ...*JoinedThread)
func (*Thread) WriteStarving ¶
func (th *Thread) WriteStarving(f func(*Thread), joined ...*JoinedThread)
Click to show internal directories.
Click to hide internal directories.