Hacker News new | ask | show | jobs
by FpUser 2063 days ago
If the resource is shared and being accessed from many threads and is both written to and read from then it is the correct behavior to to lock it with the proper type of lock at access time. Depending on resource it might be possible to split it into few with more granular access.

As for novices: they are called that for reason and supposed to be under supervision rather than allowed running wild.

1 comments

Why is this being downvoted? It's the truth.

HN needs to only allow downvotes that have an accompanying explanation comment.

HN uses downvotes mostly to boo the people with opinions deviating from common party line. As for reasonable explanation - you're asking too much. Programming as many other things often are treated as the religion. No arguments, it just is.
As with most other compromised social sites, no badthink allowed here and how dare you.