[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    Re: [Patch] shm bug introduced with pagecache in 2.3.11
From:       "Benjamin C.R. LaHaise" <blah () kvack ! org>
Date:       1999-11-19 19:52:02
[Download RAW message or body]

On Fri, 19 Nov 1999, Linus Torvalds wrote:

> Is anybody willing to take a stab at creating a read-write semaphore?

Sure.  Does the following sound?

	void down_read(struct rw_semaphore *sem);
	void down_write(struct rw_semaphore *sem);
	void up_read(struct rw_semaphore *sem);
	void up_write(struct rw_semaphore *sem);

Looking at existing semaphores and rwlocks, it looks like a quick and
painless beast to create.

		-ben


-
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/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic