//bench/incr_rwlock1.c
void *
incr(void *arg)
{
	int		i;

	for (i = 0; i < nloop; i++) {
		Rw_wrlock(&shared.rwlock);
		shared.counter++;
		Rw_unlock(&shared.rwlock);
	}
	return(NULL);
}
