Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for atomicstatus (0.09 sec)

  1. src/runtime/coro.go

    // than regular goroutine switches, so this path is heavily
    // optimized to remove unnecessary work.
    // The fast path here is three CAS: the one at the top on gp.atomicstatus,
    // the one in the middle to choose the next g,
    // and the one at the bottom on gnext.atomicstatus.
    // It is important not to add more atomic operations or other
    // expensive operations to the fast path.
    func coroswitch_m(gp *g) {
    	c := gp.coroarg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:18 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top