Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by bmm6o

4 days ago

There are documented ways to ensure that changes are visible across threads (e.g. locks). If these are not used, the compiler is within its rights to not go out of its way to pull changes from another thread.

3 comments

bmm6o

Reply

LtWorf  4 days ago

Except python has a well documented global lock.

  • anematode  4 days ago

    This thread is discussing Java, not Python

    • LtWorf  4 days ago

      java has private attributes, python does not

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities