summaryrefslogtreecommitdiff
path: root/lib/libc_r/arch/vax/_atomic_lock.c
blob: aedbb86c1dd28f7b0b0b68d7b98ea28e1c38508e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*	$OpenBSD: _atomic_lock.c,v 1.2 2002/10/11 19:08:41 marc Exp $	*/

/*
 * Atomic lock for vax
 */

#include "spinlock.h"

int
_atomic_lock(volatile _spinlock_lock_t *lock)
{
	return (_thread_slow_atomic_lock(lock));
}