Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Tocker (0.3 sec)

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

    	// Make sure panic during callback unwinds properly.
    	if lockedOSThread() {
    		t.Fatal("locked OS thread on entry to TestCallbackPanic")
    	}
    	defer func() {
    		s := recover()
    		if s == nil {
    			t.Fatal("did not panic")
    		}
    		if s.(string) != "callback panic" {
    			t.Fatal("wrong panic:", s)
    		}
    		if lockedOSThread() {
    			t.Fatal("locked OS thread on exit from TestCallbackPanic")
    		}
    	}()
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    to define an interface called <code>Locker</code>:
    </p>
    
    <pre>
    type Locker interface {
    	Lock()
    	Unlock()
    }
    </pre>
    
    <p>
    If <code>S1</code> and <code>S2</code> also implement
    </p>
    
    <pre>
    func (p T) Lock() { … }
    func (p T) Unlock() { … }
    </pre>
    
    <p>
    they implement the <code>Locker</code> interface as well
    as the <code>File</code> interface.
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  3. api/go1.txt

    pkg sync, method (*WaitGroup) Done()
    pkg sync, method (*WaitGroup) Wait()
    pkg sync, type Cond struct
    pkg sync, type Cond struct, L Locker
    pkg sync, type Locker interface { Lock, Unlock }
    pkg sync, type Locker interface, Lock()
    pkg sync, type Locker interface, Unlock()
    pkg sync, type Mutex struct
    pkg sync, type Once struct
    pkg sync, type RWMutex struct
    pkg sync, type WaitGroup struct
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
  4. api/go1.14.txt

    pkg syscall (freebsd-arm64), const RTF_REJECT = 8
    pkg syscall (freebsd-arm64), const RTF_REJECT ideal-int
    pkg syscall (freebsd-arm64), const RTF_RNH_LOCKED = 1073741824
    pkg syscall (freebsd-arm64), const RTF_RNH_LOCKED ideal-int
    pkg syscall (freebsd-arm64), const RTF_STATIC = 2048
    pkg syscall (freebsd-arm64), const RTF_STATIC ideal-int
    pkg syscall (freebsd-arm64), const RTF_STICKY = 268435456
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Viewed (0)
  5. api/go1.1.txt

    pkg syscall (windows-386), const SidTypeWellKnownGroup = 5
    pkg syscall (windows-386), const TF_DISCONNECT = 1
    pkg syscall (windows-386), const TF_REUSE_SOCKET = 2
    pkg syscall (windows-386), const TF_USE_DEFAULT_WORKER = 0
    pkg syscall (windows-386), const TF_USE_KERNEL_APC = 32
    pkg syscall (windows-386), const TF_USE_SYSTEM_THREAD = 16
    pkg syscall (windows-386), const TF_WRITE_BEHIND = 4
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  6. doc/go_spec.html

    to define an interface called <code>Locker</code>:
    </p>
    
    <pre>
    type Locker interface {
    	Lock()
    	Unlock()
    }
    </pre>
    
    <p>
    If <code>S1</code> and <code>S2</code> also implement
    </p>
    
    <pre>
    func (p T) Lock() { … }
    func (p T) Unlock() { … }
    </pre>
    
    <p>
    they implement the <code>Locker</code> interface as well
    as the <code>File</code> interface.
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 279.3K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/cgo_thread_lock.go

    		for {
    			select {
    			case <-stop:
    				return
    			case <-time.After(time.Millisecond * 100):
    			}
    		}
    	}()
    	defer close(stop)
    
    	for i := 0; i < 1000; i++ {
    		if !C.Ctid() {
    			t.Fatalf("cgo has not locked OS thread")
    		}
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu May 18 16:55:07 GMT 2023
    - 939 bytes
    - Viewed (0)
  8. api/go1.2.txt

    pkg syscall (freebsd-386-cgo), const RTF_PROTO2 ideal-int
    pkg syscall (freebsd-386-cgo), const RTF_PROTO3 ideal-int
    pkg syscall (freebsd-386-cgo), const RTF_REJECT ideal-int
    pkg syscall (freebsd-386-cgo), const RTF_RNH_LOCKED ideal-int
    pkg syscall (freebsd-386-cgo), const RTF_STATIC ideal-int
    pkg syscall (freebsd-386-cgo), const RTF_STICKY ideal-int
    pkg syscall (freebsd-386-cgo), const RTF_UP ideal-int
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 18 04:36:59 GMT 2013
    - 1.9M bytes
    - Viewed (2)
  9. api/go1.20.txt

    pkg syscall (freebsd-riscv64), const RTF_REJECT = 8 #53466
    pkg syscall (freebsd-riscv64), const RTF_REJECT ideal-int #53466
    pkg syscall (freebsd-riscv64), const RTF_RNH_LOCKED = 1073741824 #53466
    pkg syscall (freebsd-riscv64), const RTF_RNH_LOCKED ideal-int #53466
    pkg syscall (freebsd-riscv64), const RTF_STATIC = 2048 #53466
    pkg syscall (freebsd-riscv64), const RTF_STATIC ideal-int #53466
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Viewed (0)
Back to top