Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for pthread_attr_getstacksize (0.33 sec)

  1. src/runtime/cgo/gcc_freebsd.c

    {
    	pthread_attr_t attr;
    	sigset_t ign, oset;
    	pthread_t p;
    	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);
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 03:40:00 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. src/runtime/cgo/gcc_stack_unix.c

    	pthread_attr_getstack(&attr, &addr, &size); // low address
    #else
    	// We don't know how to get the current stacks, so assume they are the
    	// same as the default stack bounds.
    	pthread_attr_getstacksize(&attr, &size);
    	addr = __builtin_frame_address(0) + 4096 - size;
    #endif
    	pthread_attr_destroy(&attr);
    
    	// bounds points into the Go stack. TSAN can't see the synchronization
    	// in Go around stack reuse.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 03:44:11 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. src/runtime/cgo/gcc_dragonfly_amd64.c

    {
    	pthread_attr_t attr;
    	sigset_t ign, oset;
    	pthread_t p;
    	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);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 03:39:26 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. src/runtime/cgo/gcc_openbsd.c

    {
    	pthread_attr_t attr;
    	sigset_t ign, oset;
    	pthread_t p;
    	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);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 03:56:03 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  5. src/runtime/cgo/gcc_linux.c

    {
    	pthread_attr_t attr;
    	sigset_t ign, oset;
    	pthread_t p;
    	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);
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 03:55:36 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. src/runtime/cgo/gcc_linux_s390x.c

    {
    	pthread_attr_t attr;
    	sigset_t ign, oset;
    	pthread_t p;
    	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);
    
    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

    {
    	pthread_attr_t attr;
    	sigset_t ign, oset;
    	pthread_t p;
    	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);
    
    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_freebsd_amd64.c

    {
    	pthread_attr_t attr;
    	sigset_t ign, oset;
    	pthread_t p;
    	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);
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 22:06:46 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. src/runtime/cgo/gcc_netbsd.c

    {
    	pthread_attr_t attr;
    	sigset_t ign, oset;
    	pthread_t p;
    	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);
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 03:55:51 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. src/runtime/cgo/gcc_linux_amd64.c

    {
    	pthread_attr_t attr;
    	sigset_t ign, oset;
    	pthread_t p;
    	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);
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 22:06:46 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top