Multithreading
But this just came in from The Register and for someone who really really really understands the author about multi threading and locks (yes suicide is the best option there):) this is an unusual right-to-the-point article.
Hope it does come true. Here's to hoping!
And as a note:
Two fundamental facts about multi-threading with locks:
- You’re going to fuck it up.
- If you think that you haven’t fucked it up, you have. You just don’t know it yet.
- First, you can make fine-grained locks, which require a lot of bookkeeping and management.
- Secondly, you can also make coarse-grained locks, which are easier to implement but lead to a lot of contention.
- Finally, and this is perhaps the easiest solution, you can kill yourself. Believe me, number three looks pretty tempting after trying to find a thread related Heisenbug for two weeks.
Oh yeah baby.......
Labels: Tech
0 Comments:
Post a Comment
<< Home