CoreGraphic NSThread