Skip to content

Commit

Permalink
feat: add SchedStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
joway committed Sep 7, 2023
1 parent 92184d0 commit ac8cb05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lang/runtimex/sched.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func MPreemptOn() {
}
}

func schedlog() {
func SchedStatus() {
g := getg()
m := *((**_m)(unsafe.Pointer(g + mField.Offset())))
p := *((**_p)(unsafe.Pointer(uintptr(unsafe.Pointer(m)) + pField.Offset())))
Expand Down

0 comments on commit ac8cb05

Please sign in to comment.