From cca2d8abc427506474edb3a08b76973bf47413f9 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 19 Apr 2016 15:09:29 +0200 Subject: score: Rename _CORE_RWLock_Obtain() Rename _CORE_RWLock_Obtain_for_reading() into _CORE_RWLock_Seize_for_reading(). Rename _CORE_RWLock_Obtain_for_writing() into _CORE_RWLock_Seize_for_writing(). Rename _CORE_RWLock_Release() into _CORE_RWLock_Surrender(). This avoids confusion with the ISR lock acquire and release. --- cpukit/posix/src/prwlocktrywrlock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/posix/src/prwlocktrywrlock.c') diff --git a/cpukit/posix/src/prwlocktrywrlock.c b/cpukit/posix/src/prwlocktrywrlock.c index 23f7d80f90..065199b88a 100644 --- a/cpukit/posix/src/prwlocktrywrlock.c +++ b/cpukit/posix/src/prwlocktrywrlock.c @@ -51,7 +51,7 @@ int pthread_rwlock_trywrlock( case OBJECTS_LOCAL: executing = _Thread_Executing; - _CORE_RWLock_Obtain_for_writing( + _CORE_RWLock_Seize_for_writing( &the_rwlock->RWLock, executing, false, /* we are not willing to wait */ -- cgit v1.2.3