Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
libchrome
/
43060c97f5288cb2c9549f16a622964a20fbd924
/
base
/
simple_thread.h
118a98a
Use PlatformThreadId, not int when dealing with thread ids.
by agl@chromium.org
· 16 years ago
4dbf9ae
Add a simple thread pool to SimpleThread.
by deanm@google.com
· 16 years ago
519e619
Bring back SimpleThread, but with a Delegate interface.
by deanm@google.com
· 16 years ago
127ded5
Remove CallWrapper and SimpleThread. They overlap too closely with the message loop variants Thread and Task.
by deanm@google.com
· 16 years ago
d8281e3
Properly initialize PlatformThreadHandle. The Open Group Base Specifications Issue 6 states that pthread_t cannot be assumed to be a numeric type. It should be safe to value initialize it with (), even if it's a structure.
by deanm@google.com
· 16 years ago
1cb163a
Make CallWrappers multiuse. No longer make CallWrapper->Run() self deleting. Since the SimpleThread API backs to joinable threads, the common use case makes it simple for the caller to manage the CallWrapper memory, and this makes everything much clearer. This also allows a CallWrapper's Run() to be called multiple times. This also moves CallWrapper into the base namespace, which I'm told is all the rage these days.
by deanm@google.com
· 16 years ago
c76a33a
Create a simple abstraction to a native OS thread, mostly useful for unittesting when you don't want a message loop.
by deanm@google.com
· 16 years ago