Xiaobo Liu bbb9792ca9 Change activeTCPConn.close to atomic.Bool
Replace manual atomic operations with atomic.Bool type for better
type safety and cleaner code. This modernizes the atomic usage
pattern from atomic.LoadInt32/StoreInt32 to the newer Load/Store
methods on atomic.Bool.

- Update activeTCPConn.closed field type from int32 to atomic.Bool
- Replace atomic.LoadInt32(&a.closed) with a.closed.Load()
- Replace atomic.StoreInt32(&a.closed, 1) with a.closed.Store(true)

All existing functionality preserved with improved type safety.

Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>

tweak

Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
2025-06-14 15:16:36 +08:00
2025-04-23 10:53:29 -04:00
2025-04-23 10:53:29 -04:00
2023-04-18 13:46:38 +02:00
2023-04-18 13:46:38 +02:00
2023-04-18 13:46:38 +02:00
2025-01-17 08:21:15 -06:00
2023-04-18 13:46:38 +02:00
2025-01-17 08:21:15 -06:00
2023-05-19 09:15:00 +02:00
2025-01-17 08:21:15 -06:00
2023-04-18 13:46:38 +02:00
2022-10-21 09:58:20 +09:00
2025-01-17 08:21:15 -06:00
2025-01-17 08:21:15 -06:00
2023-04-18 13:46:38 +02:00
2025-01-17 08:21:15 -06:00
2025-01-17 08:21:15 -06:00


Pion ICE

A Go implementation of ICE

Pion ICE join us on Discord Follow us on Bluesky
GitHub Workflow Status Go Reference Coverage Status Go Report Card License: MIT


Roadmap

The library is used as a part of our WebRTC implementation. Please refer to that roadmap to track our major milestones.

Community

Pion has an active community on the Discord.

Follow the Pion Bluesky or Pion Twitter for project updates and important WebRTC news.

We are always looking to support your projects. Please reach out if you have something to build! If you need commercial support or don't want to use public methods you can contact us at team@pion.ly

Contributing

Check out the contributing wiki to join the group of amazing people making this project possible

License

MIT License - see LICENSE for full text

Description
Languages
Go 100%