OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:pthread_mutex_timedlock
(Results
1 - 25
of
193
) sorted by null
1
2
3
4
5
6
7
8
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/
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");
/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);
/system/core/libutils/include/utils/
Mutex.h
70
// OSX doesn't have
pthread_mutex_timedlock
() or equivalent. To keep
74
// FIXME?:
pthread_mutex_timedlock
is based on CLOCK_REALTIME,
147
return -
pthread_mutex_timedlock
(&mMutex, &ts);
/external/ltp/testcases/open_posix_testsuite/functional/threads/pi_test/
pitest-4.c
192
rc =
pthread_mutex_timedlock
(&mutex1, &boost_time);
223
rc =
pthread_mutex_timedlock
(&mutex2, &boost_time);
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);
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/x86_64-linux/32/bits/
gthr-default.h
118
__gthrw(
pthread_mutex_timedlock
)
768
return __gthrw_(
pthread_mutex_timedlock
) (__mutex, __abs_timeout);
gthr-posix.h
118
__gthrw(
pthread_mutex_timedlock
)
768
return __gthrw_(
pthread_mutex_timedlock
) (__mutex, __abs_timeout);
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/x86_64-linux/bits/
gthr-default.h
118
__gthrw(
pthread_mutex_timedlock
)
768
return __gthrw_(
pthread_mutex_timedlock
) (__mutex, __abs_timeout);
gthr-posix.h
118
__gthrw(
pthread_mutex_timedlock
)
768
return __gthrw_(
pthread_mutex_timedlock
) (__mutex, __abs_timeout);
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/x86_64-linux/32/bits/
gthr-default.h
118
__gthrw(
pthread_mutex_timedlock
)
768
return __gthrw_(
pthread_mutex_timedlock
) (__mutex, __abs_timeout);
gthr-posix.h
118
__gthrw(
pthread_mutex_timedlock
)
768
return __gthrw_(
pthread_mutex_timedlock
) (__mutex, __abs_timeout);
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/x86_64-linux/bits/
gthr-default.h
118
__gthrw(
pthread_mutex_timedlock
)
768
return __gthrw_(
pthread_mutex_timedlock
) (__mutex, __abs_timeout);
gthr-posix.h
118
__gthrw(
pthread_mutex_timedlock
)
768
return __gthrw_(
pthread_mutex_timedlock
) (__mutex, __abs_timeout);
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/x86_64-w64-mingw32/32/bits/
gthr-default.h
118
__gthrw(
pthread_mutex_timedlock
)
768
return __gthrw_(
pthread_mutex_timedlock
) (__mutex, __abs_timeout);
gthr-posix.h
118
__gthrw(
pthread_mutex_timedlock
)
768
return __gthrw_(
pthread_mutex_timedlock
) (__mutex, __abs_timeout);
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/x86_64-w64-mingw32/bits/
gthr-default.h
118
__gthrw(
pthread_mutex_timedlock
)
768
return __gthrw_(
pthread_mutex_timedlock
) (__mutex, __abs_timeout);
gthr-posix.h
118
__gthrw(
pthread_mutex_timedlock
)
768
return __gthrw_(
pthread_mutex_timedlock
) (__mutex, __abs_timeout);
/prebuilts/ndk/r10/sources/cxx-stl/gnu-libstdc++/4.9/libs/arm64-v8a/include/bits/
gthr-default.h
131
__gthrw(
pthread_mutex_timedlock
)
781
return __gthrw_(
pthread_mutex_timedlock
) (__mutex, __abs_timeout);
Completed in 298 milliseconds
1
2
3
4
5
6
7
8