Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CompareAndSwapUint32 (0.15 sec)

  1. internal/s3select/simdj/reader.go

    		return 0, io.EOF
    	}
    	n, err = s.r.Read(p)
    	if atomic.LoadUint32(&s.closed) == 1 {
    		return 0, io.EOF
    	}
    	return n, err
    }
    
    func (s *safeCloser) Close() error {
    	atomic.CompareAndSwapUint32(&s.closed, 0, 1)
    	return nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 30 17:02:22 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. internal/grid/connection.go

    		if rec := recover(); rec != nil {
    			gridLogIf(ctx, fmt.Errorf("handleMessages: panic recovered: %v", rec))
    			debug.PrintStack()
    		}
    		cancel(ErrDisconnected)
    		c.connChange.L.Lock()
    		if atomic.CompareAndSwapUint32((*uint32)(&c.state), StateConnected, StateConnectionError) {
    			c.connChange.Broadcast()
    		}
    		c.connChange.L.Unlock()
    		conn.Close()
    		c.handleMsgWg.Done()
    	}()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  3. api/go1.txt

    pkg sync/atomic, func CompareAndSwapInt64(*int64, int64, int64) bool
    pkg sync/atomic, func CompareAndSwapPointer(*unsafe.Pointer, unsafe.Pointer, unsafe.Pointer) bool
    pkg sync/atomic, func CompareAndSwapUint32(*uint32, uint32, uint32) bool
    pkg sync/atomic, func CompareAndSwapUint64(*uint64, uint64, uint64) bool
    pkg sync/atomic, func CompareAndSwapUintptr(*uintptr, uintptr, uintptr) bool
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top