Revert "RWLOCK(9): Add reader/writer lock implementation"

This was accidentally committed.

This reverts commit 97a98f6cd7.
This commit is contained in:
Sebastian Huber
2017-11-17 10:49:59 +01:00
parent b5822c2a0a
commit c360b1a2dc
8 changed files with 64 additions and 1027 deletions

View File

@@ -29,7 +29,7 @@
#ifndef _SYS__RWLOCK_H_
#define _SYS__RWLOCK_H_
#ifdef __rtems__
#include <machine/rtems-bsd-rwlock.h>
#include <machine/rtems-bsd-mutex.h>
#endif /* __rtems__ */
#include <machine/param.h>
@@ -48,7 +48,7 @@ struct rwlock {
#ifndef __rtems__
volatile uintptr_t rw_lock;
#else /* __rtems__ */
rtems_bsd_rwlock rwlock;
rtems_bsd_mutex mutex;
#endif /* __rtems__ */
};