Lines Matching defs:SimpleThread
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
54 // This is the base SimpleThread. You can derive from it and implement the
56 class SimpleThread : public PlatformThread::Delegate {
72 // Create a SimpleThread. |options| should be used to manage any specific
76 explicit SimpleThread(const std::string& name_prefix)
79 SimpleThread(const std::string& name_prefix, const Options& options)
83 virtual ~SimpleThread();
119 class DelegateSimpleThread : public SimpleThread {
130 : SimpleThread(name_prefix), delegate_(delegate) { }
134 : SimpleThread(name_prefix, options), delegate_(delegate) { }