Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Ctid (0.2 sec)

  1. src/cmd/cgo/internal/test/cgo_thread_lock.go

    // license that can be found in the LICENSE file.
    
    //go:build linux
    
    package cgotest
    
    /*
    #include <unistd.h>
    #include <stdbool.h>
    #include <sys/syscall.h>
    void Gosched(void);
    static bool Ctid(void) {
    	long tid1 = syscall(SYS_gettid);
    	Gosched();
    	return tid1 == syscall(SYS_gettid);
    }
    */
    import "C"
    
    import (
    	"runtime"
    	"testing"
    	"time"
    )
    
    //export Gosched
    func Gosched() {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu May 18 16:55:07 GMT 2023
    - 939 bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/issue1435.go

    		for _, line := range lines {
    			// Different kernel vintages pad differently.
    			line = strings.TrimSpace(line)
    			if strings.HasPrefix(line, "Pid:\t") {
    				// On loaded systems, it is possible
    				// for a TID to be reused really
    				// quickly. As such, we need to
    				// validate that the thread status
    				// info we just read is a task of the
    				// same process PID as we are
    				// currently running, and not a
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jul 28 21:31:41 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  3. api/go1.txt

    pkg syscall (linux-386), const SYS_SET_MEMPOLICY ideal-int
    pkg syscall (linux-386), const SYS_SET_ROBUST_LIST ideal-int
    pkg syscall (linux-386), const SYS_SET_THREAD_AREA ideal-int
    pkg syscall (linux-386), const SYS_SET_TID_ADDRESS ideal-int
    pkg syscall (linux-386), const SYS_SGETMASK ideal-int
    pkg syscall (linux-386), const SYS_SIGACTION ideal-int
    pkg syscall (linux-386), const SYS_SIGALTSTACK ideal-int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
  4. api/go1.1.txt

    pkg syscall (linux-386), const SYS_SET_MEMPOLICY = 276
    pkg syscall (linux-386), const SYS_SET_ROBUST_LIST = 311
    pkg syscall (linux-386), const SYS_SET_THREAD_AREA = 243
    pkg syscall (linux-386), const SYS_SET_TID_ADDRESS = 258
    pkg syscall (linux-386), const SYS_SGETMASK = 68
    pkg syscall (linux-386), const SYS_SIGACTION = 67
    pkg syscall (linux-386), const SYS_SIGALTSTACK = 186
    pkg syscall (linux-386), const SYS_SIGNAL = 48
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  5. api/go1.2.txt

    pkg syscall (linux-arm-cgo), const SYS_SETXATTR ideal-int
    pkg syscall (linux-arm-cgo), const SYS_SET_MEMPOLICY ideal-int
    pkg syscall (linux-arm-cgo), const SYS_SET_ROBUST_LIST ideal-int
    pkg syscall (linux-arm-cgo), const SYS_SET_TID_ADDRESS ideal-int
    pkg syscall (linux-arm-cgo), const SYS_SHMAT ideal-int
    pkg syscall (linux-arm-cgo), const SYS_SHMCTL ideal-int
    pkg syscall (linux-arm-cgo), const SYS_SHMDT ideal-int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Oct 18 04:36:59 GMT 2013
    - 1.9M bytes
    - Viewed (2)
Back to top