Locks Are Some Shit
· 9 min read
I've been reading Operating Systems: Three Easy
Pieces. I highly recommend the book if
you're cool fiddling with C a bit. Actually, scratch that: I recommend the book
if you ever write code that runs on a server or any other linux/osx environment,
especially if you feel a little out of your depth with C. The code examples
are not that intimidating, even if you don't know from typecasting or a pointer
(okay, learning the difference between foo
, *foo
and &foo
is useful, but
not knowing it doesn't prevent you from getting the gist of the code samples),
and getting a deeper understanding of the environment your code works in will
make a lot of known unknowns come into a bit more focus. Honest.