go/src/runtime/sema_test.go

// TestSemaHandoff checks that when semrelease+handoff is
// requested, the G that releases the semaphore yields its
// P directly to the first waiter in line.
// See issue 33747 for discussion.
func TestSemaHandoff(t *testing.T) {}

func TestSemaHandoff1(t *testing.T) {}

func TestSemaHandoff2(t *testing.T) {}

func testSemaHandoff() bool {}

func BenchmarkSemTable(b *testing.B) {}