summaryrefslogtreecommitdiffstats
path: root/libs/utils/Threads.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Maybe really fix windows build.Dianne Hackborn2009-12-081-1/+4
|
* Hopefully fix Windows buildDianne Hackborn2009-12-081-0/+2
|
* Propagate background scheduling class across processes.Dianne Hackborn2009-12-071-0/+49
| | | | | | | | | | | This is a very simply implementation: upon receiving an IPC, if the handling thread is at a background priority (the driver will have taken care of propagating this from the calling thread), then stick it in to the background scheduling group. Plus an API to turn this off for the process, which is used by the system process. This also pulls some of the code for managing scheduling classes out of the Process JNI wrappers and in to some convenience methods in thread.h.
* use broadcast() instead of signal() when signaling the condition-variable ↵Mathias Agopian2009-09-091-2/+7
| | | | | | | | Thread::RequestExitAndWait() is waiting for we could have several thread waiting on the condition and they all need to wake-up. also added a debug "mTid" field in the class, which contains the tid of the thread (as opposed to pthread_t), this is useful when debugging under gdb for instance.
* Fix Win32 libutils to get a working SDK build.David 'Digit' Turner2009-08-011-1/+18
|
* implement Mutex and Condition with pthread instead of calling futex directly.Mathias Agopian2009-07-131-286/+4
| | | | | internally pthread uses futex. the implementation consists of simple inlines there are no implementation files anymore.
* auto import from //depot/cupcake/@136594The Android Open Source Project2009-03-051-176/+50
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+1128
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-1126/+0
|
* auto import from //depot/cupcake/@132589The Android Open Source Project2009-03-031-3/+1
|
* auto import from //depot/cupcake/@137055The Android Open Source Project2009-03-021-1/+3
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+1126