ebiten: github.com/hajimehoshi/ebiten/internal/testflock Index | Files

package testflock

import "github.com/hajimehoshi/ebiten/internal/testflock"

Package testflock provides a lock for testing.

There is a CI service like TravisCI where multiple OpenGL processes don't work well at the same time, and tests with an OpenGL main routine should be protected by a file lock (#575).


Package Files


func Lock Uses

func Lock()

func Unlock Uses

func Unlock()

Package testflock imports 3 packages (graph). Updated 2019-06-19. Refresh now. Tools for package owners.