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

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -