Messages in this thread | | | Subject | Re: [PATCH] Re: export of sys_call_table | From | Robert Love <> | Date | 08 Oct 2002 20:00:25 -0400 |
| |
On Tue, 2002-10-08 at 18:20, Brian F. G. Bidulock wrote:
> This version (courtesy of Dave Grothe at GCOM) uses up/down > semaphore instead of read/write spinlocks.
> +static rwlock_t streams_call_lock = RW_LOCK_UNLOCKED; > + read_lock(&streams_call_lock); > + read_unlock(&streams_call_lock); > + read_lock(&streams_call_lock); > + read_unlock(&streams_call_lock); > + write_lock(&streams_call_lock); > + write_unlock(&streams_call_lock);
Eh? These are all read-write spinlocks, not semaphores.
Robert Love
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |