appcelerator/titanium_mobile — pull request #1482 by sptramer (2012-02-22 16:34:37+00:00)
Title: [TIMOB-7715] Change main thread executions to use GCD groups

Replaces the manual queue while ensuring serial behavior and giving a massive performance improvement (and it avoids deadlocks). This fix __does__ need to be thoroughly checked to ensure that we avoid deadlocks and have consistent behavior.

This fix __regresses__ [TIMOB-4538](https://jira.appcelerator.org/browse/TIMOB-4538) and [TIMOB-1542](https://jira.appcelerator.org/browse/TIMOB-1542). This is somewhat intentional because these special-case bugs are due to suspension interactions only and these regressions have been confirmed to be OK and fixed in the near term, due to the expense and danger of the manual queue.