Writing Shell Lab for CSAPP


Shell Lab is the 1st lab after midterm exam of 15213/18213 (Introduction to computer system), and it’s more complicated than previous labs. The most annoying part about this lab must be race condition. I spent over two days on debugging a concealed race condition. It’s such a disgusting bug that TA and me checked code line by line whole night to fix it.

So here are some points should take care.

Avoid Race Condition

Several things you should do to avoid race condition.

Read full article..

Hello world!


Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!

Read full article..