OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:pthread_mutex_timedlock
(Results
1 - 25
of
187
) sorted by null
1
2
3
4
5
6
7
8
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/
coverage.txt
1
This document defines the coverage for the
pthread_mutex_timedlock
function:
4-1.c
8
* Test that
pthread_mutex_timedlock
()
14
* 1. Create a thread, and call
pthread_mutex_timedlock
inside of it. It should not block
16
* 2. Save the return value of
pthread_mutex_timedlock
(). It should be 0.
30
pthread_mutex_timedlock
(). */
34
pthread_mutex_timedlock
(). */
38
pthread_mutex_timedlock
(). */
48
/* Create a thread that will call
pthread_mutex_timedlock
*/
60
/* Check the return status of
pthread_mutex_timedlock
(). */
85
ret =
pthread_mutex_timedlock
(&mutex, &timeout);
5-1.c
8
* Test that
pthread_mutex_timedlock
()
19
* 2. Call
pthread_mutex_timedlock
inside of the thread passing to it a negative number in the
21
* 3. Save the return value of
pthread_mutex_timedlock
(). It should be EINVAL.
38
pthread_mutex_timedlock
(). */
42
pthread_mutex_timedlock
(). */
46
pthread_mutex_timedlock
(). */
56
/* Create a thread that will call
pthread_mutex_timedlock
*/
68
/* Check the return status of
pthread_mutex_timedlock
(). */
101
ret =
pthread_mutex_timedlock
(&mutex, &timeout);
5-2.c
8
* Test that
pthread_mutex_timedlock
()
19
* 2. Call
pthread_mutex_timedlock
inside of the thread passing to it
21
* 3. Save the return value of
pthread_mutex_timedlock
(). It should be EINVAL.
38
pthread_mutex_timedlock
(). */
42
pthread_mutex_timedlock
(). */
46
pthread_mutex_timedlock
(). */
56
/* Create a thread that will call
pthread_mutex_timedlock
*/
68
/* Check the return status of
pthread_mutex_timedlock
(). */
101
ret =
pthread_mutex_timedlock
(&mutex, &timeout);
5-3.c
8
* Test that
pthread_mutex_timedlock
()
17
* 2. Inside the thread, call
pthread_mutex_timedlock
. It should block and return
19
* 3. Save the return value of
pthread_mutex_timedlock
() and cleanup mutex stuff.
34
pthread_mutex_timedlock
(). */
38
pthread_mutex_timedlock
(). */
42
pthread_mutex_timedlock
(). */
58
/* Create a thread that will call
pthread_mutex_timedlock
*/
81
/* Check the return status of
pthread_mutex_timedlock
(). */
108
ret =
pthread_mutex_timedlock
(&mutex, &timeout);
1-1.c
8
* Test that
pthread_mutex_timedlock
()
19
* 2. Create a thread, and call
pthread_mutex_timedlock
inside of it. It should block for
37
pthread_mutex_timedlock
(). */
43
pthread_mutex_timedlock
(). */
60
/* Create a thread that will call
pthread_mutex_timedlock
*/
124
if (
pthread_mutex_timedlock
(&mutex, &timeout) != ETIMEDOUT) {
125
perror("Error in
pthread_mutex_timedlock
().\n");
2-1.c
8
* Test that
pthread_mutex_timedlock
()
19
* 2. Create a thread, and call
pthread_mutex_timedlock
inside of it. It should block for
40
pthread_mutex_timedlock
(). */
46
pthread_mutex_timedlock
(). */
63
/* Create a thread that will call
pthread_mutex_timedlock
*/
137
if (
pthread_mutex_timedlock
(&mutex, &timeout) != ETIMEDOUT) {
138
perror("Error in
pthread_mutex_timedlock
().\n");
assertions.xml
5
int
pthread_mutex_timedlock
(pthread_mutex_t *restrict mutex,
/external/valgrind/drd/tests/
trylock.stderr.exp
18
Locking mutex via
pthread_mutex_timedlock
().
trylock.c
70
fprintf(stderr, "Locking mutex via
pthread_mutex_timedlock
().\n");
72
r =
pthread_mutex_timedlock
(&mutex, &abs_timeout); assert(r == 0);
/external/swiftshader/third_party/LLVM/test/Linker/
2011-08-22-ResolveAlias.ll
22
@_ZL31__gthrw_pthread_mutex_timedlockP15pthread_mutex_tPK8timespec = alias weak i32 (%union.pthread_mutex_t*, %struct.timespec*)* @
pthread_mutex_timedlock
61
declare extern_weak i32 @
pthread_mutex_timedlock
(%union.pthread_mutex_t*, %struct.timespec*)
2011-08-22-ResolveAlias2.ll
25
@_ZL31__gthrw_pthread_mutex_timedlockP15pthread_mutex_tPK8timespec = alias weak i32 (%union.pthread_mutex_t*, %struct.timespec*)* @
pthread_mutex_timedlock
66
declare extern_weak i32 @
pthread_mutex_timedlock
(%union.pthread_mutex_t*, %struct.timespec*)
/system/core/libutils/include/utils/
Mutex.h
117
// OSX doesn't have
pthread_mutex_timedlock
() or equivalent. To keep
121
// FIXME?:
pthread_mutex_timedlock
is based on CLOCK_REALTIME,
198
return -
pthread_mutex_timedlock
(&mMutex, &ts);
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/lib32/
libpthread-2.15.so
libpthread.so.0
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
pthread_unistd.h
158
pthread_mutex_timedlock
(),
/bionic/libc/include/
pthread.h
173
int
pthread_mutex_timedlock
(pthread_mutex_t* __mutex, const struct timespec* __timeout)
177
* POSIX only supports using
pthread_mutex_timedlock
() with CLOCK_REALTIME, however that is
/external/ltp/testcases/open_posix_testsuite/functional/threads/pi_test/
pitest-2.c
215
rc =
pthread_mutex_timedlock
(&mutex, &boost_time);
244
rc =
pthread_mutex_timedlock
(&mutex, &boost_time);
pitest-3.c
225
rc =
pthread_mutex_timedlock
(&mutex1, &boost_time);
252
rc =
pthread_mutex_timedlock
(&mutex2, &boost_time);
pitest-4.c
192
rc =
pthread_mutex_timedlock
(&mutex1, &boost_time);
223
rc =
pthread_mutex_timedlock
(&mutex2, &boost_time);
/external/mesa3d/include/c11/
threads_posix.h
43
Use
pthread_mutex_timedlock
() for `mtx_timedlock()'
249
rt =
pthread_mutex_timedlock
(mtx, &ts);
/external/valgrind/helgrind/tests/
tc20_verifywrap.c
133
/* make
pthread_mutex_timedlock
fail */
136
r=
pthread_mutex_timedlock
( &mx3, &abstime ); assert(r);
/bionic/libc/include/bits/
posix_limits.h
87
#define _POSIX_TIMEOUTS __BIONIC_POSIX_FEATURE_SINCE(21) /*
pthread_mutex_timedlock
arrived late. */
/external/ltp/testcases/open_posix_testsuite/stress/threads/
assertions.xml
9
With a large amount of threads contending for some mutexes (of several types) with pthread_mutex_lock, pthread_mutex_trylock and
pthread_mutex_timedlock
, there is never more than one thread owning the same mutex at the same time.
/bionic/libc/tools/
posix-2013.txt
786
pthread_mutex_timedlock
Completed in 611 milliseconds
1
2
3
4
5
6
7
8