aboutsummaryrefslogtreecommitdiff
path: root/Foundation/GTMNSThread+Blocks.m
Commit message (Collapse)AuthorAge
* First cut at pruning things/updating things.Gravatar dmaclach2016-10-07
| | | | | | | | | | | | | | | Remove a bunch of code that Google stopped using/maintaining rather than trying to update it it. Some would be hard to update, some actually has system provided replacements; others are patterns that just don't seem as common now. Prune out the code related to macOS <= 10.5, start pruning some of the really old iOS support also. Get the projects mostly limping again with modern Xcodes so tests can be run. If someone ends up on this commit via history for something they still find as useful, feel free to do a pull request to bring the snippet of code back to life and update it for current SDKs.
* Only use dlsym on the Mac side as it's not necessary to take any performance ↵Gravatar gtm.daemon2013-02-20
| | | | | hit at startup on the iOS side. DELTA=7 (7 added, 0 deleted, 0 changed)
* No need for [self class] in a class method.Gravatar gtm.daemon2013-02-13
| | | DELTA=26 (0 added, 0 deleted, 26 changed)
* [Author: aharper]Gravatar gtm.daemon2012-12-20
| | | | | | | | Fix pthread_setname_np() call for empty strings (some OS versions don't handle NULL). R=dmaclach,thomasvl APPROVED=dmaclach DELTA=7 (6 added, 0 deleted, 1 changed)
* [Author: aharper]Gravatar gtm.daemon2012-12-18
| | | | | | | Move worker thread globals into the right #ifdef guard for SDK version. R=dmaclach,thomasvl APPROVED=thomasvl DELTA=8 (4 added, 4 deleted, 0 changed)
* [Author: aharper]Gravatar gtm.daemon2012-12-18
| | | | | | | | | | 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)
* CFRunLoopStop does NOT act like "join" and block until the thread is stopped.Gravatar thomasvl2012-12-09
| | | | | Use a lock to wait before returning.
* [Author: aharper]Gravatar gtm.daemon2012-11-15
| | | | | | | | 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)
* [Author: dmaclach]Gravatar gtm.daemon2012-11-14
| | | | | | Fix GTMNSThread+Blocks compiling on older compilers. R=thomasvl DELTA=12 (6 added, 6 deleted, 0 changed)
* [Author: dmaclach]Gravatar gtm.daemon2012-11-14
| | | | | | Add GTMSimpleWorkerThread for easily creating a thread that just handles blocks and performSelector calls. R=thomasvl DELTA=52 (52 added, 0 deleted, 0 changed)
* [Author: thomasvl]Gravatar gtm.daemon2012-03-22
| | | | | | Fix build for older SDKs. Rename parameter to avoid issue with extra compiler flags. TBR=dmaclach
* [Author: dmaclach]Gravatar gtm.daemon2012-03-21
Add a blocks API to NSThread. R=thomasvl,grobbins DELTA=238 (236 added, 1 deleted, 1 changed)