Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for sigsetmask (0.14 sec)

  1. src/regexp/testdata/testregex.c

    	}
    	return 1;
    }
    
    static void
    sigunblock(int s)
    {
    #ifdef SIG_SETMASK
    	int		op;
    	sigset_t	mask;
    
    	sigemptyset(&mask);
    	if (s)
    	{
    		sigaddset(&mask, s);
    		op = SIG_UNBLOCK;
    	}
    	else op = SIG_SETMASK;
    	sigprocmask(op, &mask, NiL);
    #else
    #ifdef sigmask
    	sigsetmask(s ? (sigsetmask(0L) & ~sigmask(s)) : 0L);
    #endif
    #endif
    }
    
    static void
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 51.3K bytes
    - Viewed (0)
  2. src/runtime/defs_aix.go

    	_O_NONBLOCK = C.O_NONBLOCK
    	_O_CREAT    = C.O_CREAT
    	_O_TRUNC    = C.O_TRUNC
    
    	_SS_DISABLE  = C.SS_DISABLE
    	_SI_USER     = C.SI_USER
    	_SIG_BLOCK   = C.SIG_BLOCK
    	_SIG_UNBLOCK = C.SIG_UNBLOCK
    	_SIG_SETMASK = C.SIG_SETMASK
    
    	_SA_SIGINFO = C.SA_SIGINFO
    	_SA_RESTART = C.SA_RESTART
    	_SA_ONSTACK = C.SA_ONSTACK
    
    	_PTHREAD_CREATE_DETACHED = C.PTHREAD_CREATE_DETACHED
    
    	__SC_PAGE_SIZE        = C._SC_PAGE_SIZE
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 20 21:27:51 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  3. src/runtime/cgo/gcc_freebsd.c

    	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);
    
    	if (err != 0) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 03:40:00 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. src/runtime/cgo/gcc_linux_amd64.c

    	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);
    
    	if (err != 0) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 22:06:46 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. src/runtime/cgo/gcc_dragonfly_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) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 03:39:26 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. src/runtime/cgo/gcc_openbsd.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) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 03:56:03 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. src/runtime/cgo/gcc_linux_s390x.c

    	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);
    
    	if (err != 0) {
    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_ppc64x.c

    	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);
    
    	if (err != 0) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 09 03:13:11 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. src/runtime/cgo/gcc_darwin_amd64.c

    	int err;
    
    	sigfillset(&ign);
    	pthread_sigmask(SIG_SETMASK, &ign, &oset);
    
    	size = pthread_get_stacksize_np(pthread_self());
    	pthread_attr_init(&attr);
    	pthread_attr_setstacksize(&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) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 12 03:56:28 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. src/runtime/cgo/gcc_linux.c

    	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);
    
    	if (err != 0) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 03:55:36 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top