아이폰어플개발정보2010. 10. 12. 05:13
[cocos2D] multi-threaded game loop에서 자식쓰레드에 메세지전달방법은 NSNotification
Registered Member
 
Join Date: Feb 2010
Posts: 2
 Some questions about a multi-threaded game loop

I want to run my game loop in the second thread. The question is:
How to handle an incoming message (such as incoming call, app closing, memory warning, etc) in the second thread?
  
 02-10-2010, 10:59 AM   #2 (permalink)
Magic Hands' Daddy
 
Join Date: Aug 2008
Location: Memphis, TN, USA
Age: 22
Posts: 1,566
  

You should be able to use NSNotifications
__________________
Games 
AppRoach - (v1.0)
7 Deaths In Nagamachi (v1.1) 
Segment (v1.2) 
ThumStruck Free (v1.5) 
Plummet - new (v1.0)
ThumStruck 2! - Coming Soon

Apps
ArtsMemphis - (v1.0) 
Elvis Mobile (v1.1)
DataLoss DB - (v1.1)
http://www.iphonedevsdk.com/forum/iphone-sdk-development/40214-some-questions-about-multi-threaded-game-loop.html
Posted by 오늘마감

댓글을 달아 주세요