Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,653 for mstart (0.19 sec)

  1. src/runtime/os_openbsd_libc.go

    		exit(1)
    	}
    	mp.g0.stack.hi = stacksize // for mstart
    
    	// Tell the pthread library we won't join with this thread.
    	if pthread_attr_setdetachstate(&attr, _PTHREAD_CREATE_DETACHED) != 0 {
    		writeErrStr(failthreadcreate)
    		exit(1)
    	}
    
    	// Finally, create the thread. It starts at mstart_stub, which does some low-level
    	// setup and then calls mstart.
    	var oset sigset
    	sigprocmask(_SIG_SETMASK, &sigset_all, &oset)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 20:44:45 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  2. src/runtime/os_darwin.go

    		exit(1)
    	}
    	mp.g0.stack.hi = stacksize // for mstart
    
    	// Tell the pthread library we won't join with this thread.
    	if pthread_attr_setdetachstate(&attr, _PTHREAD_CREATE_DETACHED) != 0 {
    		writeErrStr(failthreadcreate)
    		exit(1)
    	}
    
    	// Finally, create the thread. It starts at mstart_stub, which does some low-level
    	// setup and then calls mstart.
    	var oset sigset
    	sigprocmask(_SIG_SETMASK, &sigset_all, &oset)
    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/cgo/gcc_netbsd.c

    	size_t size;
    	int err;
    
    	sigfillset(&ign);
    	pthread_sigmask(SIG_SETMASK, &ign, &oset);
    
    	pthread_attr_init(&attr);
    	pthread_attr_getstacksize(&attr, &size);
    	// Leave stacklo=0 and set stackhi=size; mstart will do the rest.
    	ts->g->stackhi = size;
    	err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);
    
    	pthread_sigmask(SIG_SETMASK, &oset, nil);
    
    	if (err != 0) {
    		fatalf("pthread_create failed: %s", strerror(err));
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 03:55:51 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. src/runtime/cgo/gcc_freebsd.c

    	size_t size;
    	int err;
    
    	SIGFILLSET(ign);
    	pthread_sigmask(SIG_SETMASK, &ign, &oset);
    
    	pthread_attr_init(&attr);
    	pthread_attr_getstacksize(&attr, &size);
    	// Leave stacklo=0 and set stackhi=size; mstart will do the rest.
    	ts->g->stackhi = size;
    	err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);
    
    	pthread_sigmask(SIG_SETMASK, &oset, nil);
    
    	if (err != 0) {
    		fatalf("pthread_create failed: %s", strerror(err));
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 03:40:00 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/compile.go

    			// Surround timing information w/ enough context to allow comparisons.
    			time := tEnd.Sub(tStart).Nanoseconds()
    			if p.time {
    				f.LogStat("TIME(ns)", time)
    			}
    			if p.mem {
    				var mEnd runtime.MemStats
    				runtime.ReadMemStats(&mEnd)
    				nBytes := mEnd.TotalAlloc - mStart.TotalAlloc
    				nAllocs := mEnd.Mallocs - mStart.Mallocs
    				f.LogStat("TIME(ns):BYTES:ALLOCS", time, nBytes, nAllocs)
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. src/runtime/cgo/gcc_linux_s390x.c

    	size_t size;
    	int err;
    
    	sigfillset(&ign);
    	pthread_sigmask(SIG_SETMASK, &ign, &oset);
    
    	pthread_attr_init(&attr);
    	pthread_attr_getstacksize(&attr, &size);
    	// Leave stacklo=0 and set stackhi=size; mstart will do the rest.
    	ts->g->stackhi = size;
    	err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);
    
    	pthread_sigmask(SIG_SETMASK, &oset, nil);
    
    	if (err != 0) {
    		fatalf("pthread_create failed: %s", strerror(err));
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 09 03:13:11 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. src/runtime/cgo/gcc_ppc64x.c

    	size_t size;
    	int err;
    
    	sigfillset(&ign);
    	pthread_sigmask(SIG_SETMASK, &ign, &oset);
    
    	pthread_attr_init(&attr);
    	pthread_attr_getstacksize(&attr, &size);
    	// Leave stacklo=0 and set stackhi=size; mstart will do the rest.
    	ts->g->stackhi = size;
    	err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);
    
    	pthread_sigmask(SIG_SETMASK, &oset, nil);
    
    	if (err != 0) {
    		fatalf("pthread_create failed: %s", strerror(err));
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 09 03:13:11 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. src/runtime/cgo/gcc_linux_amd64.c

    	size_t size;
    	int err;
    
    	sigfillset(&ign);
    	pthread_sigmask(SIG_SETMASK, &ign, &oset);
    
    	pthread_attr_init(&attr);
    	pthread_attr_getstacksize(&attr, &size);
    	// Leave stacklo=0 and set stackhi=size; mstart will do the rest.
    	ts->g->stackhi = size;
    	err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);
    
    	pthread_sigmask(SIG_SETMASK, &oset, nil);
    
    	if (err != 0) {
    		fatalf("pthread_create failed: %s", strerror(err));
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 22:06:46 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. src/runtime/cgo/gcc_freebsd_amd64.c

    	size_t size;
    	int err;
    
    	SIGFILLSET(ign);
    	pthread_sigmask(SIG_SETMASK, &ign, &oset);
    
    	pthread_attr_init(&attr);
    	pthread_attr_getstacksize(&attr, &size);
    	// Leave stacklo=0 and set stackhi=size; mstart will do the rest.
    	ts->g->stackhi = size;
    	err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);
    
    	pthread_sigmask(SIG_SETMASK, &oset, nil);
    
    	if (err != 0) {
    		fatalf("pthread_create failed: %s", strerror(err));
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 22:06:46 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. src/cmd/internal/objabi/funcid.go

    	"handleAsyncEvent":   abi.FuncID_handleAsyncEvent,
    	"main":               abi.FuncID_runtime_main,
    	"mcall":              abi.FuncID_mcall,
    	"morestack":          abi.FuncID_morestack,
    	"mstart":             abi.FuncID_mstart,
    	"panicwrap":          abi.FuncID_panicwrap,
    	"runfinq":            abi.FuncID_runfinq,
    	"sigpanic":           abi.FuncID_sigpanic,
    	"systemstack_switch": abi.FuncID_systemstack_switch,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 06 21:33:59 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top