Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for unminit (0.43 sec)

  1. src/runtime/os_wasm.go

    }
    
    // Called to initialize a new m (including the bootstrap m).
    // Called on the new thread, cannot allocate memory.
    func minit() {
    }
    
    // Called from dropm to undo the effect of an minit.
    func unminit() {
    }
    
    // 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) {
    }
    
    // wasm has no signals
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. src/runtime/os_aix.go

    	r, _ := syscall0(&libc__Errno)
    	mp.perrno = r
    
    }
    
    func minit() {
    	miniterrno()
    	minitSignals()
    	getg().m.procid = uint64(pthread_self())
    }
    
    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
    - 8.9K bytes
    - Viewed (0)
  3. src/runtime/os_openbsd.go

    // Called on the new thread, can not allocate memory.
    func minit() {
    	getg().m.procid = uint64(getthrid())
    	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: Mon Mar 25 19:53:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. src/runtime/os_dragonfly.go

    // Called on the new thread, cannot allocate memory.
    func minit() {
    	getg().m.procid = uint64(lwp_gettid())
    	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
    - 7.1K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testsanitizers/testdata/msan8.go

    	int i;
    
    	msanGoSignalThread = pthread_self();
            __atomic_store_n(&msanGoSignalThreadSet, 1, __ATOMIC_SEQ_CST);
    
    	// Force uninit to be undefined for msan.
    	__msan_poison(&uninit, sizeof uninit);
    	for (i = 0; i < 100; i++) {
    		msanGoWait(uninit, uninit, uninit, uninit, uninit, uninit);
            }
    }
    
    // msanGoReady returns whether msanGoSignalThread is set.
    int msanGoReady() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:30:58 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  6. pkg/util/smallset/smallset_test.go

    	assert.Equal(t, nset.Contains("d"), true)
    	assert.Equal(t, nset.Contains("e"), false)
    	assert.Equal(t, nset.Contains("z"), true)
    }
    
    func TestNew(t *testing.T) {
    	var uninit smallset.Set[string]
    	assert.Equal(t, uninit.IsNil(), true)
    	assert.Equal(t, uninit.IsEmpty(), true)
    	empty := smallset.New[string]()
    	assert.Equal(t, empty.IsNil(), true)
    	assert.Equal(t, empty.IsEmpty(), true)
    	empty2 := smallset.New[string]([]string{}...)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modcmd/init.go

    Gopkg.lock), and the current directory (if in GOPATH).
    
    See https://golang.org/ref/mod#go-mod-init for more about 'go mod init'.
    `,
    	Run: runInit,
    }
    
    func init() {
    	base.AddChdirFlag(&cmdInit.Flag)
    	base.AddModCommonFlags(&cmdInit.Flag)
    }
    
    func runInit(ctx context.Context, cmd *base.Command, args []string) {
    	if len(args) > 1 {
    		base.Fatalf("go: 'go mod init' accepts at most one argument")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 15:51:46 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. src/crypto/aes/gcm_ppc64x.go

    package aes
    
    import (
    	"crypto/cipher"
    	"crypto/subtle"
    	"errors"
    	"internal/byteorder"
    	"runtime"
    )
    
    // This file implements GCM using an optimized GHASH function.
    
    //go:noescape
    func gcmInit(productTable *[256]byte, h []byte)
    
    //go:noescape
    func gcmHash(output []byte, productTable *[256]byte, inp []byte, len int)
    
    //go:noescape
    func gcmMul(output []byte, productTable *[256]byte)
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/walk/select.go

    	r.Lhs = []ir.Node{chosen, recvOK}
    	fn := typecheck.LookupRuntime("selectgo")
    	var fnInit ir.Nodes
    	r.Rhs = []ir.Node{mkcall1(fn, fn.Type().ResultsTuple(), &fnInit, bytePtrToIndex(selv, 0), bytePtrToIndex(order, 0), pc0, ir.NewInt(base.Pos, int64(nsends)), ir.NewInt(base.Pos, int64(nrecvs)), ir.NewBool(base.Pos, dflt == nil))}
    	init = append(init, fnInit...)
    	init = append(init, typecheck.Stmt(r))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 01:53:41 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  10. src/runtime/cgo/gcc_netbsd.c

    	ts = *(ThreadStart*)v;
    	free(v);
    
    	// On NetBSD, a new thread inherits the signal stack of the
    	// creating thread. That confuses minit, so we remove that
    	// signal stack here before calling the regular mstart. It's
    	// a bit baroque to remove a signal stack here only to add one
    	// in minit, but it's a simple change that keeps NetBSD
    	// working like other OS's. At this point all signals are
    	// blocked, so there is no race.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 03:55:51 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top