Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1009 Bytes

[s]dont-share-mutable-state.md

File metadata and controls

27 lines (20 loc) · 1009 Bytes

The Real Reason Not To Share a Mutable State

The Real Reason Not To Share a Mutable State

  • meanwhile, inside any given Linux system,Mark the process talks to rick, his only thread (for now...)

  • Son, Daddy needs to talk to you. In a few Milliseconds , you'll get a brother!

  • Daddy ,do I have to share my stack with him

  • No,Son. Your Stack is all yours. But You do Have to Share your heap.

  • Alright, Daddy.

  • A few seconds latert...

  • Daddy,Rick is messing uo my drawing!

  • HEAP

via:

作者:Daniel Stori 译者:译者ID 校对:校对者ID 合成:合成者ID 点评:点评ID

本文由 LCTT 原创编译,Linux中国 荣誉推出