| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
| |
Improve worker thread implementation:
- Handle more of the NSThread interface.
- Allow cancel or stop before we've started.
- Cache looked up pthread_setname_np symbol in thread local storage.
R=dmaclach,thomasvl
APPROVED=dmaclach
DELTA=441 (339 added, 38 deleted, 64 changed)
|
|
|
|
|
| |
Use a lock to wait before returning.
|
|
|
|
|
|
|
| |
Pick up missing define for iPhone.
R=dmaclach
APPROVED=dmaclach
DELTA=1 (1 added, 0 deleted, 0 changed)
|
|
|
|
|
|
|
|
| |
Exclude on 10.4 and only set name when pthread_setname_np is available
(10.6 and later).
R=dmaclach,thomasvl
APPROVED=dmaclach
DELTA=19 (17 added, 0 deleted, 2 changed)
|
|
|
|
|
|
| |
Add GTMSimpleWorkerThread for easily creating a thread that just handles blocks and performSelector calls.
R=thomasvl
DELTA=52 (52 added, 0 deleted, 0 changed)
|
|
|
|
|
|
| |
Fix build for older SDKs.
Rename parameter to avoid issue with extra compiler flags.
TBR=dmaclach
|
|
Add a blocks API to NSThread.
R=thomasvl,grobbins
DELTA=238 (236 added, 1 deleted, 1 changed)
|