Messages in this thread | | | From | (Alan Cox) | Subject | Re: global kernel lock | Date | Fri, 13 Nov 1998 18:20:28 +0000 (GMT) |
| |
> Another [related] big wart that needs a plan of attack, is how to deal > with fget & fput in threads, and that might be a 2.2 item -- thread A does > a big write(), then thread B then does a close() on the fd... Uh-oh. This > is where a rwlock version of a semaphore would be *really* handy.
Thats already covered. The close() occurs when the operation (eg the write) finishes
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |