good morning!!!!

Skip to content
Snippets Groups Projects
Select Git revision
  • 4c273310109b8d134d96b35d66d7231e8c54a05b
  • master default protected
  • danielle/type-error-return
  • fix-license-1
  • mafredri/build-add-makefile
  • mafredri/build-update-to-go1.22
  • mafredri/fix-ci-script-tool-version
  • dependabot/go_modules/internal/examples/internal-deps-4cadc2be3d
  • dependabot/go_modules/internal/examples/internal-deps-46eeb9c117
  • dependabot/go_modules/internal/examples/internal-deps-022ca1aea3
  • mafredri/chore-update-dependabot
  • dependabot/go_modules/internal/thirdparty/github.com/lesismal/nbio-1.5.12
  • dependabot/go_modules/internal/examples/golang.org/x/time-0.7.0
  • dependabot/go_modules/internal/thirdparty/github.com/lesismal/nbio-1.5.11
  • ethan/close-order
  • mafredri/chore-remove-funding
  • mafredri/fix-ci
  • dependabot/go_modules/internal/thirdparty/github.com/gobwas/ws-1.4.0
  • dependabot/go_modules/internal/thirdparty/github.com/gorilla/websocket-1.5.3
  • dependabot/go_modules/internal/thirdparty/github.com/lesismal/nbio-1.5.10
  • dependabot/go_modules/internal/thirdparty/github.com/gin-gonic/gin-1.10.0
  • v1.8.13
  • v1.8.12
  • v1.8.11
  • v1.8.10
  • v1.8.9
  • v1.8.8
  • v1.8.7
  • v1.8.6
  • v1.8.5
  • v1.8.4
  • v1.8.3
  • v1.8.2
  • v1.8.1
  • v1.8.0
  • v1.7.4
  • v1.7.3
  • v1.7.2
  • v1.7.1
  • v1.7.0
  • v1.6.5
41 results

netconn.go

Blame
  • user avatar
    Grigorii Khvatskii authored and Grigorii Khvatskii committed
    On some 32-bit architectures, 64-bit atomic operations panic when the
    value is not aligned properly.
    
    In this package, this causes netConn operations to panic when compiling
    with GOARCH=386, since netConn does atomic operations with int64 values
    in the netConn struct (namely, with readExpired and writeExpired).
    
    This commit fixes this by moving readExpired and writeExpired to the
    beginning of the struct, which makes them properly aligned.
    4c273310
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    netconn.go 5.40 KiB