Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for lockOSThread (1.25 sec)

  1. src/os/os_test.go

    			if i%2 == 1 {
    				// On Plan 9, after calling LockOSThread, the goroutines
    				// run on different processes which don't share the working
    				// directory. This used to be an issue because Go expects
    				// the working directory to be program-wide.
    				// See issue 9428.
    				runtime.LockOSThread()
    			}
    			select {
    			case <-done:
    				return
    			case <-hold:
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  2. src/syscall/syscall_windows.go

    // the index of the last subkey (obtainable from RegQueryInfoKey),
    // decrementing until index 0 is enumerated.
    //
    // Successive calls to this API must happen on the same OS thread,
    // so call [runtime.LockOSThread] before calling this function.
    func RegEnumKeyEx(key Handle, index uint32, name *uint16, nameLen *uint32, reserved *uint32, class *uint16, classLen *uint32, lastWriteTime *Filetime) (regerrno error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
Back to top