Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 937 for dropm (0.16 sec)

  1. src/runtime/os_freebsd.go

    		st := stackt{ss_flags: _SS_DISABLE}
    		sigaltstack(&st, nil)
    	}
    
    	minitSignals()
    }
    
    // Called from dropm to undo the effect of an minit.
    //
    //go:nosplit
    func unminit() {
    	unminitSignals()
    	getg().m.procid = 0
    }
    
    // Called from exitm, but not from drop, to undo the effect of thread-owned
    // resources in minit, semacreate, or elsewhere. Do not take locks after calling this.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  2. src/runtime/os_darwin.go

    	getg().m.procid = uint64(pthread_self())
    }
    
    // Called from dropm to undo the effect of an minit.
    //
    //go:nosplit
    func unminit() {
    	// iOS does not support alternate signal stack.
    	// See minit.
    	if !(GOOS == "ios" && GOARCH == "arm64") {
    		unminitSignals()
    	}
    	getg().m.procid = 0
    }
    
    // Called from exitm, but not from drop, to undo the effect of thread-owned
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  3. src/runtime/os3_solaris.go

    	minitSignals()
    
    	getg().m.procid = uint64(pthread_self())
    }
    
    // Called from dropm to undo the effect of an minit.
    func unminit() {
    	unminitSignals()
    	getg().m.procid = 0
    }
    
    // Called from exitm, but not from drop, to undo the effect of thread-owned
    // resources in minit, semacreate, or elsewhere. Do not take locks after calling this.
    func mdestroy(mp *m) {
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. src/runtime/proc.go

    	}
    
    	execute(gp, inheritTime)
    }
    
    // dropg removes the association between m and the current goroutine m->curg (gp for short).
    // Typically a caller sets gp's status away from Grunning and then
    // immediately calls dropg to finish the job. The caller is also responsible
    // for arranging that gp will be restarted using ready at an
    // appropriate time. After calling dropg and arranging for gp to be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  5. src/runtime/stubs.go

    // cgocallback is not called from Go, only from crosscall2.
    // This in turn calls cgocallbackg, which is where we'll find
    // pointer-declared arguments.
    //
    // When fn is nil (frame is saved g), call dropm instead,
    // this is used when the C thread is exiting.
    func cgocallback(fn, frame, ctxt uintptr)
    
    func gogo(buf *gobuf)
    
    func asminit()
    func setg(gg *g)
    func breakpoint()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  6. src/runtime/crash_cgo_test.go

    		t.Errorf("expected %q, got %v", want, got)
    	}
    }
    
    func TestEnsureDropM(t *testing.T) {
    	t.Parallel()
    	// Test for issue 13881.
    	switch runtime.GOOS {
    	case "windows", "plan9":
    		t.Skipf("skipping dropm test on %s", runtime.GOOS)
    	}
    	got := runTestProg(t, "testprogcgo", "EnsureDropM")
    	want := "OK\n"
    	if got != want {
    		t.Errorf("expected %q, got %v", want, got)
    	}
    }
    
    // Test for issue 14387.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 16:44:47 UTC 2024
    - 22.2K bytes
    - Viewed (1)
  7. src/runtime/os_linux.go

    	// useful in debuggers.
    	getg().m.procid = uint64(gettid())
    }
    
    // Called from dropm to undo the effect of an minit.
    //
    //go:nosplit
    func unminit() {
    	unminitSignals()
    	getg().m.procid = 0
    }
    
    // Called from exitm, but not from drop, to undo the effect of thread-owned
    // resources in minit, semacreate, or elsewhere. Do not take locks after calling this.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  8. src/runtime/os_windows.go

    	// Sanity check the SP.
    	stackcheck()
    }
    
    // Called from dropm to undo the effect of an minit.
    //
    //go:nosplit
    func unminit() {
    	mp := getg().m
    	lock(&mp.threadLock)
    	if mp.thread != 0 {
    		stdcall1(_CloseHandle, mp.thread)
    		mp.thread = 0
    	}
    	unlock(&mp.threadLock)
    
    	mp.procid = 0
    }
    
    // Called from exitm, but not from drop, to undo the effect of thread-owned
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  9. tools/istio-iptables/pkg/capture/testdata/drop-invalid.golden

    iptables -t nat -N ISTIO_INBOUND
    iptables -t nat -N ISTIO_REDIRECT
    iptables -t nat -N ISTIO_IN_REDIRECT
    iptables -t nat -N ISTIO_OUTPUT
    iptables -t mangle -A PREROUTING -m conntrack --ctstate INVALID -j DROP
    iptables -t nat -A ISTIO_INBOUND -p tcp --dport 15008 -j RETURN
    iptables -t nat -A ISTIO_REDIRECT -p tcp -j REDIRECT --to-ports 15001
    iptables -t nat -A ISTIO_IN_REDIRECT -p tcp -j REDIRECT --to-ports 15006
    iptables -t nat -A OUTPUT -p tcp -j ISTIO_OUTPUT
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 17:46:23 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. cni/pkg/plugin/testdata/invalid-drop.txt.golden

    * mangle
    -A PREROUTING -m conntrack --ctstate INVALID -j DROP
    COMMIT
    * nat
    -N ISTIO_INBOUND
    -N ISTIO_REDIRECT
    -N ISTIO_IN_REDIRECT
    -N ISTIO_OUTPUT
    -A ISTIO_INBOUND -p tcp --dport 15008 -j RETURN
    -A ISTIO_REDIRECT -p tcp -j REDIRECT --to-ports 15001
    -A ISTIO_IN_REDIRECT -p tcp -j REDIRECT --to-ports 15006
    -A PREROUTING -p tcp -j ISTIO_INBOUND
    -A ISTIO_INBOUND -p tcp --dport 15020 -j RETURN
    -A ISTIO_INBOUND -p tcp --dport 15021 -j RETURN
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 16 22:54:20 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top