diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2020-09-16 13:48:33 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2020-09-16 13:48:33 +0200 |
commit | eebe7c798a689dd1c627f4af5203902665cc2f21 (patch) | |
tree | dbe69c8fc12f2535ae6b8646e8f738eecaab6bb8 /thread.c | |
parent | 76a7bed57561285b1c32ac8d7a6c68dc607c3d39 (diff) | |
download | vdr-eebe7c798a689dd1c627f4af5203902665cc2f21.tar.gz vdr-eebe7c798a689dd1c627f4af5203902665cc2f21.tar.bz2 |
Fixed several typos
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: thread.c 4.14 2018/03/05 22:38:10 kls Exp $ + * $Id: thread.c 4.15 2020/09/16 13:48:33 kls Exp $ */ #include "thread.h" @@ -184,7 +184,7 @@ bool cRwLock::Lock(bool Write, int TimeoutMs) } else if (writeLockThreadId == cThread::ThreadId()) { locked++; // there can be any number of stacked read locks, so we keep track here - Result = 0; // aquiring a read lock while holding a write lock within the same thread is OK + Result = 0; // acquiring a read lock while holding a write lock within the same thread is OK } else Result = TimeoutMs ? pthread_rwlock_timedrdlock(&rwlock, &abstime) : pthread_rwlock_rdlock(&rwlock); |