java - What does "inherently thread-safe" mean? -


i came across line "some functions inherently thread-safe, example memcpy()"

wikipedia defines "thread-safe" as:

a piece of code thread-safe if manipulates shared data structures in manner guarantees safe execution multiple threads @ same time.

ok. inherently mean? related inheritance?

it not related inheritance. informal expression , means more like
"some functions thread-safe nature". example function not
touch shared values/state thread safe anyway i.e. "is inherently thread-safe".


Comments

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -