Re:Java at 30: The Genius Behind the Code That Changed Tech
by lazide on Saturday May 17, 2025 @07:56AM
(#44013655)
I think they’re using it in the context of what you’ll get without some degree of locking, which is data corruption and/or other issues.
It’s not that you need locking to use threads. You need locking to stop threads from ruining any shared resource/data they are both trying to touch at the same time.
It’s not that you need locking to use threads. You need locking to stop threads from ruining any shared resource/data they are both trying to touch at the same time.