Jan. 29, 2013
4:55 p.m.
On Tue, 29 Jan 2013 16:56:02 +0100, Tobias Boege said:
Look some lines above:
struct fd f = fdget(fd);
That creates a reference, not a lock. It basically assures that the system doesn't reap and reclaim that fd out from under the code. (In other words, it's managing lifetime, not concurrency).