lib: Fix box the update and the read racelab6-exercise3b
commit677a24241c6270793379038641b1826ac0c66c59
authorLuiz Fernando N. Capitulino <lcapitulino@gmail.com>
Wed, 5 Dec 2007 21:02:15 +0000 (5 19:02 -0200)
committerLuiz Fernando N. Capitulino <lcapitulino@gmail.com>
Wed, 5 Dec 2007 21:02:15 +0000 (5 19:02 -0200)
tree288b996cb3ad42535d1f2526d6aa6bf4cda26cf6
parent0db305102bf46a8d7a668cbe7ae6d751cef97a12
lib: Fix box the update and the read race

It should be split in two commits, but I forgot to commit
the first one before doing the second... Not a very good day.

Solution for lab6-exercise3b

Signed-off-by: Luiz Fernando N. Capitulino <lcapitulino@gmail.com>
src/lib/fd.c
src/lib/pipe.c