Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for beforeIdle (0.13 sec)

  1. src/runtime/lock_futex.go

    	gp := getg()
    	if gp == gp.m.g0 {
    		throw("notetsleepg on g0")
    	}
    
    	entersyscallblock()
    	ok := notetsleep_internal(n, ns)
    	exitsyscall()
    	return ok
    }
    
    func beforeIdle(int64, int64) (*g, bool) {
    	return nil, false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:34 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. src/runtime/lock_sema.go

    	gp := getg()
    	if gp == gp.m.g0 {
    		throw("notetsleepg on g0")
    	}
    	semacreate(gp.m)
    	entersyscallblock()
    	ok := notetsleep_internal(n, ns, nil, 0)
    	exitsyscall()
    	return ok
    }
    
    func beforeIdle(int64, int64) (*g, bool) {
    	return nil, false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top