tlf30 / monkey-netty

A implementation of a server-client communication system for jMonkeyEngine using Netty.IO that utilizes both TCP and UDP communication.
MIT License
12 stars 5 forks source link

Migrate synchronized collections to concurrent collections #28

Closed tlf30 closed 3 years ago

tlf30 commented 3 years ago

All synchronized collections need to be migrated to concurrent collections for thread safe use. Using synchronized collections lends itself to non-synchronized access with iterators/streams and blocks all access to the collection in cases where access could be performed concurrently. This was leftover from some old Outside code, and can be cleaned up.

Tagging internal issue: https://git.liquidcrystalstudios.com/outside/outside/-/issues/202