1 |
/* Acquire a rwlock for reading. Generic version. |
/* Acquire a rwlock for reading. Generic version. |
2 |
Copyright (C) 2002 Free Software Foundation, Inc. |
Copyright (C) 2002, 2005 Free Software Foundation, Inc. |
3 |
This file is part of the GNU C Library. |
This file is part of the GNU C Library. |
4 |
|
|
5 |
The GNU C Library is free software; you can redistribute it and/or |
The GNU C Library is free software; you can redistribute it and/or |
21 |
#include <pt-internal.h> |
#include <pt-internal.h> |
22 |
|
|
23 |
/* Implemented in pt-rwlock-timedrdlock.c. */ |
/* Implemented in pt-rwlock-timedrdlock.c. */ |
24 |
extern int __pthread_rwlock_timedrdlock_internal (struct __pthread_mutex *mutex, |
extern int __pthread_rwlock_timedrdlock_internal (struct __pthread_rwlock *rwlock, |
25 |
const struct timespec *abstime); |
const struct timespec *abstime); |
26 |
|
|
27 |
/* Acquire RWLOCK for reading, block if we can't get it. */ |
/* Acquire RWLOCK for reading, block if we can't get it. */ |