Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for getthrid (0.16 sec)

  1. src/runtime/os_openbsd.go

    	mp.gsignal = malg(gsignalSize)
    	mp.gsignal.m = mp
    }
    
    // Called to initialize a new m (including the bootstrap m).
    // Called on the new thread, can not allocate memory.
    func minit() {
    	getg().m.procid = uint64(getthrid())
    	minitSignals()
    }
    
    // Called from dropm to undo the effect of an minit.
    //
    //go:nosplit
    func unminit() {
    	unminitSignals()
    	getg().m.procid = 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. src/runtime/os_openbsd_syscall2.go

    func sigaction(sig uint32, new, old *sigactiont)
    
    func kqueue() int32
    
    //go:noescape
    func kevent(kq int32, ch *keventt, nch int32, ev *keventt, nev int32, ts *timespec) int32
    
    func raiseproc(sig uint32)
    
    func getthrid() int32
    func thrkill(tid int32, sig int)
    
    // read calls the read system call.
    // It returns a non-negative number of bytes written or a negative errno value.
    func read(fd int32, p unsafe.Pointer, n int32) int32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. src/runtime/sys_openbsd2.go

    //go:nosplit
    //go:cgo_unsafe_args
    func exit(code int32) {
    	libcCall(unsafe.Pointer(abi.FuncPCABI0(exit_trampoline)), unsafe.Pointer(&code))
    }
    func exit_trampoline()
    
    //go:nosplit
    //go:cgo_unsafe_args
    func getthrid() (tid int32) {
    	libcCall(unsafe.Pointer(abi.FuncPCABI0(getthrid_trampoline)), unsafe.Pointer(&tid))
    	return
    }
    func getthrid_trampoline()
    
    //go:nosplit
    //go:cgo_unsafe_args
    func raiseproc(sig uint32) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/AbstractLongRunningOperation.java

            return getThis();
        }
    
        @Override
        public T setStandardInput(InputStream inputStream) {
            operationParamsBuilder.setStdin(inputStream);
            return getThis();
        }
    
        @Override
        public T setColorOutput(boolean colorOutput) {
            operationParamsBuilder.setColorOutput(colorOutput);
            return getThis();
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  5. src/runtime/testdata/testprogcgo/dll_windows.go

    package main
    
    /*
    #include <windows.h>
    
    DWORD getthread() {
    	return GetCurrentThreadId();
    }
    */
    import "C"
    import "runtime/testdata/testprogcgo/windows"
    
    func init() {
    	register("CgoDLLImportsMain", CgoDLLImportsMain)
    }
    
    func CgoDLLImportsMain() {
    	C.getthread()
    	windows.GetThread()
    	println("OK")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 18:56:19 UTC 2019
    - 459 bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/DefaultPhasedBuildActionExecuter.java

            operationParamsBuilder.setTasks(tasks != null ? Arrays.asList(tasks) : null);
            return getThis();
        }
    
        @Override
        public BuildActionExecuter<Void> forTasks(Iterable<String> tasks) {
            operationParamsBuilder.setTasks(tasks != null ? CollectionUtils.toList(tasks) : null);
            return getThis();
        }
    
        @Override
        public Void run() throws GradleConnectionException, IllegalStateException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. src/runtime/testdata/testprogcgo/windows/win.go

    package windows
    
    /*
    #include <windows.h>
    
    DWORD agetthread() {
    	return GetCurrentThreadId();
    }
    */
    import "C"
    
    func GetThread() uint32 {
    	return uint32(C.agetthread())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 15:59:22 UTC 2022
    - 169 bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/DefaultBuildActionExecuter.java

            operationParamsBuilder.setTasks(tasks != null ? Arrays.asList(tasks) : null);
            return getThis();
        }
    
        @Override
        public BuildActionExecuter<T> forTasks(Iterable<String> tasks) {
            operationParamsBuilder.setTasks(tasks != null ? CollectionUtils.toList(tasks) : null);
            return getThis();
        }
    
        @Override
        public T run() throws GradleConnectionException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. 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)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/options/TaskOptionFixture.groovy

                        this.second = second.toString()
                    }
            
                    @Option(option = "third", description = "configures 'third' field")
                    void setThird(TestEnum blubb) {
                        this.third = blubb
                    }
            
                    @TaskAction
                    void renderFields() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 13 15:11:56 UTC 2019
    - 2K bytes
    - Viewed (0)
Back to top