thread concurrent file operation

Valdis.Kletnieks at vt.edu Valdis.Kletnieks at vt.edu
Tue Jan 29 11:55:14 EST 2013


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).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 865 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130129/051442f9/attachment.bin 


More information about the Kernelnewbies mailing list