OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mutex
(Results
1 - 25
of
1718
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/
default.pass.cpp
10
// <
mutex
>
12
// class
mutex
;
14
//
mutex
();
16
#include <
mutex
>
20
std::
mutex
m;
assign.fail.cpp
10
// <
mutex
>
12
// class
mutex
;
14
//
mutex
& operator=(const
mutex
&) = delete;
16
#include <
mutex
>
20
std::
mutex
m0;
21
std::
mutex
m1;
copy.fail.cpp
10
// <
mutex
>
12
// class
mutex
;
14
//
mutex
(const
mutex
&) = delete;
16
#include <
mutex
>
20
std::
mutex
m0;
21
std::
mutex
m1(m0);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/
default.pass.cpp
10
// <
mutex
>
12
// class
mutex
;
14
//
mutex
();
16
#include <
mutex
>
20
std::
mutex
m;
assign.fail.cpp
10
// <
mutex
>
12
// class
mutex
;
14
//
mutex
& operator=(const
mutex
&) = delete;
16
#include <
mutex
>
20
std::
mutex
m0;
21
std::
mutex
m1;
copy.fail.cpp
10
// <
mutex
>
12
// class
mutex
;
14
//
mutex
(const
mutex
&) = delete;
16
#include <
mutex
>
20
std::
mutex
m0;
21
std::
mutex
m1(m0);
/external/qemu/distrib/sdl-1.2.15/src/thread/dc/
SDL_sysmutex.c
34
spinlock_t
mutex
;
member in struct:SDL_mutex
37
/* Create a
mutex
*/
40
SDL_mutex *
mutex
;
local
42
/* Allocate
mutex
memory */
43
mutex
= (SDL_mutex *)SDL_malloc(sizeof(*
mutex
));
44
if (
mutex
) {
45
spinlock_init(&
mutex
->
mutex
);
46
mutex
->recursive = 0
[
all
...]
/external/qemu/distrib/sdl-1.2.15/src/thread/pth/
SDL_sysmutex.c
35
/* Create a
mutex
*/
38
SDL_mutex *
mutex
;
local
40
/* Allocate
mutex
memory */
41
mutex
= (SDL_mutex *)SDL_malloc(sizeof(*
mutex
));
42
if (
mutex
) {
43
/* Create the
mutex
, with initial value signaled */
44
if (!pth_mutex_init(&(
mutex
->mutexpth_p))) {
45
SDL_SetError("Couldn't create
mutex
");
46
SDL_free(
mutex
);
[
all
...]
/external/qemu/distrib/sdl-1.2.15/src/thread/win32/
SDL_sysmutex.c
24
/*
Mutex
functions using the Win32 API */
36
/* Create a
mutex
*/
39
SDL_mutex *
mutex
;
local
41
/* Allocate
mutex
memory */
42
mutex
= (SDL_mutex *)SDL_malloc(sizeof(*
mutex
));
43
if (
mutex
) {
44
/* Create the
mutex
, with initial value signaled */
45
mutex
->id = CreateMutex(NULL, FALSE, NULL);
46
if ( !
mutex
->id )
[
all
...]
/development/ndk/platforms/android-9/arch-mips/include/asm/
mutex.h
19
#include <asm-generic/
mutex
-dec.h>
/external/valgrind/main/memcheck/tests/darwin/
pth-supp.c
6
pthread_rwlock_t
mutex
;
local
7
pthread_rwlock_init(&
mutex
, NULL);
/prebuilts/ndk/8/platforms/android-14/arch-mips/usr/include/asm/
mutex.h
19
#include <asm-generic/
mutex
-dec.h>
/prebuilts/ndk/8/platforms/android-9/arch-mips/usr/include/asm/
mutex.h
19
#include <asm-generic/
mutex
-dec.h>
/prebuilts/ndk/9/platforms/android-12/arch-mips/usr/include/asm/
mutex.h
19
#include <asm-generic/
mutex
-dec.h>
/prebuilts/ndk/9/platforms/android-13/arch-mips/usr/include/asm/
mutex.h
19
#include <asm-generic/
mutex
-dec.h>
/prebuilts/ndk/9/platforms/android-14/arch-mips/usr/include/asm/
mutex.h
19
#include <asm-generic/
mutex
-dec.h>
/prebuilts/ndk/9/platforms/android-15/arch-mips/usr/include/asm/
mutex.h
19
#include <asm-generic/
mutex
-dec.h>
/prebuilts/ndk/9/platforms/android-16/arch-mips/usr/include/asm/
mutex.h
19
#include <asm-generic/
mutex
-dec.h>
/prebuilts/ndk/9/platforms/android-17/arch-mips/usr/include/asm/
mutex.h
19
#include <asm-generic/
mutex
-dec.h>
/prebuilts/ndk/9/platforms/android-18/arch-mips/usr/include/asm/
mutex.h
19
#include <asm-generic/
mutex
-dec.h>
/prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/asm/
mutex.h
19
#include <asm-generic/
mutex
-dec.h>
/prebuilts/ndk/9/platforms/android-9/arch-mips/usr/include/asm/
mutex.h
19
#include <asm-generic/
mutex
-dec.h>
/external/qemu/distrib/sdl-1.2.15/src/thread/os2/
SDL_sysmutex.c
24
/*
Mutex
functions using the OS/2 API */
37
/* Create a
mutex
*/
40
SDL_mutex *
mutex
;
local
43
/* Allocate
mutex
memory */
44
mutex
= (SDL_mutex *)SDL_malloc(sizeof(*
mutex
));
45
if (
mutex
)
47
/* Create the
mutex
, with initial value signaled */
49
&(
mutex
->hmtxID), // Pointer to handle
54
SDL_SetError("Couldn't create
mutex
");
[
all
...]
/external/qemu/distrib/sdl-1.2.15/src/thread/generic/
SDL_sysmutex.c
36
/* Create a
mutex
*/
39
SDL_mutex *
mutex
;
local
41
/* Allocate
mutex
memory */
42
mutex
= (SDL_mutex *)SDL_malloc(sizeof(*
mutex
));
43
if (
mutex
) {
44
/* Create the
mutex
semaphore, with initial value 1 */
45
mutex
->sem = SDL_CreateSemaphore(1);
46
mutex
->recursive = 0;
47
mutex
->owner = 0
[
all
...]
/external/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.obs/
mutex.pass.cpp
10
// <
mutex
>
12
// template <class
Mutex
> class unique_lock;
14
// mutex_type *
mutex
() const;
16
#include <
mutex
>
19
std::
mutex
m;
23
std::unique_lock<std::
mutex
> lk0;
24
assert(lk0.
mutex
() == nullptr);
25
std::unique_lock<std::
mutex
> lk1(m);
26
assert(lk1.
mutex
() == &m);
28
assert(lk1.
mutex
() == &m)
[
all
...]
Completed in 862 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>