OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:SimpleThread
(Results
1 - 8
of
8
) sorted by null
/external/libchrome/base/threading/
simple_thread.cc
14
SimpleThread
::
SimpleThread
(const std::string& name_prefix)
23
SimpleThread
::
SimpleThread
(const std::string& name_prefix,
34
SimpleThread
::~
SimpleThread
() {
35
DCHECK(HasBeenStarted()) << "
SimpleThread
was never started.";
36
DCHECK(HasBeenJoined()) << "
SimpleThread
destroyed without being Join()ed.";
39
void
SimpleThread
::Start() {
53
void
SimpleThread
::Join()
[
all
...]
simple_thread.h
19
// resources. You are also responsible for destructing the
SimpleThread
object.
20
// It is invalid to destroy a
SimpleThread
while it is running, or without
24
// Thread Safety: A
SimpleThread
is not completely thread safe. It is safe to
37
// // The
SimpleThread
object is still valid, however you may not call Join
57
// This is the base
SimpleThread
. You can derive from it and implement the
59
class BASE_EXPORT
SimpleThread
: public PlatformThread::Delegate {
82
// Create a
SimpleThread
. |options| should be used to manage any specific
86
explicit
SimpleThread
(const std::string& name_prefix);
87
SimpleThread
(const std::string& name_prefix, const Options& options);
89
~
SimpleThread
() override
[
all
...]
/external/icu/icu4c/source/test/intltest/
simplethread.h
14
class U_EXPORT
SimpleThread
17
SimpleThread
();
18
virtual ~
SimpleThread
();
20
void join(); // A thread must be joined before deleting its
SimpleThread
.
60
SimpleThread
**fThreads;
simplethread.cpp
24
#include "
simplethread
.h"
126
// class
SimpleThread
Windows Implementation
138
((
SimpleThread
*)arg)->run();
142
SimpleThread
::
SimpleThread
()
150
SimpleThread
::~
SimpleThread
()
165
int32_t
SimpleThread
::start()
195
void
SimpleThread
::join() {
209
// class
SimpleThread
POSIX implementatio
[
all
...]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/MultiSession/
EventDebuggee.java
37
static final String testedThreadName = "
SimpleThread
";
39
private class
SimpleThread
extends Thread {
41
public
SimpleThread
() {
47
logWriter.println("->
SimpleThread
: Running...");
62
SimpleThread
testThread = new
SimpleThread
();
64
logWriter.println("-> EventDebuggee:
SimpleThread
started");
70
logWriter.println("-> EventDebuggee:
SimpleThread
finished");
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
EventDebuggee.java
37
public static final String testedThreadName = "
SimpleThread
";
39
private class
SimpleThread
extends Thread {
41
public
SimpleThread
() {
47
logWriter.println("->
SimpleThread
: Running...");
62
SimpleThread
testThread = new
SimpleThread
();
64
logWriter.println("-> EventDebuggee:
SimpleThread
started");
70
logWriter.println("-> EventDebuggee:
SimpleThread
finished");
/libcore/luni/src/test/java/libcore/java/lang/
OldThreadTest.java
28
static class
SimpleThread
implements Runnable {
43
public
SimpleThread
(int d) {
51
st = new Thread(tg, new
SimpleThread
(1), "SimpleThread3", 1);
62
new Thread(tg, new
SimpleThread
(1), "SimpleThread3",
146
st = new Thread(new
SimpleThread
(5));
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
ThreadTest.java
25
static class
SimpleThread
implements Runnable {
40
public
SimpleThread
(int d) {
127
ct = new Thread(new
SimpleThread
(10));
137
Thread st1 = new Thread(new
SimpleThread
(1), "SimpleThread1");
161
st = new Thread(tg, new
SimpleThread
(1), "SimpleThread2");
179
st = new Thread(tg, new
SimpleThread
(1), "SimpleThread3");
212
st = new Thread(new
SimpleThread
(1), "SimpleThread4");
223
Thread t = new Thread(new
SimpleThread
(10));
243
st = new Thread(tg, new
SimpleThread
(1), "SimpleThread5");
300
SimpleThread
st1 = null
[
all
...]
Completed in 199 milliseconds