Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 364 for Setsid (0.26 sec)

  1. src/runtime/os_linux.go

    	mp.gsignal.m = mp
    }
    
    func gettid() uint32
    
    // Called to initialize a new m (including the bootstrap m).
    // Called on the new thread, cannot allocate memory.
    func minit() {
    	minitSignals()
    
    	// Cgo-created threads and the bootstrap m are missing a
    	// procid. We need this for asynchronous preemption and it's
    	// useful in debuggers.
    	getg().m.procid = uint64(gettid())
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  2. src/runtime/race/race_darwin_amd64.go

    //go:cgo_import_dynamic exit exit ""
    //go:cgo_import_dynamic fstat$INODE64 fstat$INODE64 ""
    //go:cgo_import_dynamic ftruncate ftruncate ""
    //go:cgo_import_dynamic getpid getpid ""
    //go:cgo_import_dynamic getrlimit getrlimit ""
    //go:cgo_import_dynamic gettimeofday gettimeofday ""
    //go:cgo_import_dynamic getuid getuid ""
    //go:cgo_import_dynamic grantpt grantpt ""
    //go:cgo_import_dynamic ioctl ioctl ""
    //go:cgo_import_dynamic isatty isatty ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 19:29:22 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. src/runtime/race/race_darwin_arm64.go

    //go:cgo_import_dynamic exit exit ""
    //go:cgo_import_dynamic fstat fstat ""
    //go:cgo_import_dynamic ftruncate ftruncate ""
    //go:cgo_import_dynamic getpid getpid ""
    //go:cgo_import_dynamic getrlimit getrlimit ""
    //go:cgo_import_dynamic gettimeofday gettimeofday ""
    //go:cgo_import_dynamic getuid getuid ""
    //go:cgo_import_dynamic grantpt grantpt ""
    //go:cgo_import_dynamic ioctl ioctl ""
    //go:cgo_import_dynamic isatty isatty ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 19:29:22 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  4. src/runtime/testdata/testprog/lockosthread.go

    		runtime.LockOSThread()
    		if mainTID != 0 && gettid() != mainTID {
    			println("failed to start goroutine on main thread")
    			os.Exit(1)
    		}
    		// Exit with the thread locked, which should exit the
    		// main thread.
    		ready <- true
    	}()
    	<-ready
    	time.Sleep(1 * time.Millisecond)
    	// Check that this goroutine is still running on a different
    	// thread.
    	if mainTID != 0 && gettid() == mainTID {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:00:09 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. build/pause/linux/orphan.c

    #include <unistd.h>
    
    int main() {
      pid_t pid;
      pid = fork();
      if (pid == 0) {
        while (getppid() > 1)
          ;
        printf("Child exiting: pid=%d ppid=%d\n", getpid(), getppid());
        return 0;
      } else if (pid > 0) {
        printf("Parent exiting: pid=%d ppid=%d\n", getpid(), getppid());
        return 0;
      }
      perror("Could not create child");
      return 1;
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 26 13:26:24 UTC 2020
    - 1014 bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         */
        @Override
        public final long getMid () {
            return this.mid;
        }
    
    
        /**
         * @param mid
         *            the mid to set
         */
        @Override
        public final void setMid ( long mid ) {
            this.mid = (int) mid;
        }
    
    
        /**
         * @return the tid
         */
        public final int getTid () {
            return this.tid;
        }
    
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 32.7K bytes
    - Viewed (0)
  7. pkg/kubelet/server/stats/fs_resource_analyzer.go

    	for _, pod := range s.statsProvider.GetPods() {
    		if value, found := oldCache[pod.GetUID()]; !found {
    			newCache[pod.GetUID()] = newVolumeStatCalculator(s.statsProvider, s.calcPeriod, pod, s.eventRecorder).StartOnce()
    		} else {
    			newCache[pod.GetUID()] = value
    		}
    	}
    
    	// Stop entries for pods that have been deleted
    	for uid, entry := range oldCache {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 09 16:16:37 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  8. src/runtime/security_aix.go

    package runtime
    
    // secureMode is only ever mutated in schedinit, so we don't need to worry about
    // synchronization primitives.
    var secureMode bool
    
    func initSecureMode() {
    	secureMode = !(getuid() == geteuid() && getgid() == getegid())
    }
    
    func isSecureMode() bool {
    	return secureMode
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 449 bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

        public int getMaximalAccess () {
            return this.maximalAccess;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.TreeConnectResponse#getTid()
         */
        @Override
        public final int getTid () {
            return getTreeId();
        }
    
    
        @Override
        public boolean isValidTid () {
            return getTreeId() != -1;
        }
    
    
        /**
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon May 23 14:35:20 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/issue1435.go

    		{call: "Setuid(0)", fn: func() error { return syscall.Setuid(0) }, filter: "Uid:", expect: "\t0\t0\t0\t0"},
    
    		{call: "Setgid(1)", fn: func() error { return syscall.Setgid(1) }, filter: "Gid:", expect: "\t1\t1\t1\t1"},
    		{call: "Setgid(0)", fn: func() error { return syscall.Setgid(0) }, filter: "Gid:", expect: "\t0\t0\t0\t0"},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 28 21:31:41 UTC 2023
    - 7.5K bytes
    - Viewed (0)
Back to top