mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +01:00
internal/thread: Refactoring
This commit is contained in:
parent
49c3c30c79
commit
43c964a3b8
@ -73,7 +73,7 @@ func (t *OSThread) Call(f func() error) error {
|
|||||||
type NoopThread struct{}
|
type NoopThread struct{}
|
||||||
|
|
||||||
// NewNoopThread creates a new thread that does no threading.
|
// NewNoopThread creates a new thread that does no threading.
|
||||||
func NewNoopThread() Thread {
|
func NewNoopThread() *NoopThread {
|
||||||
return &NoopThread{}
|
return &NoopThread{}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user