#63: Cleanly shutdown the path-finding thread on exit
--------------------------+-------------------------------------------------
 Reporter:  EvilGuru      |              Owner:  per      
     Type:  enhancement   |             Status:  new      
 Priority:  major         |          Milestone:  2.2      
Component:  other         |            Version:  svn/trunk
 Keywords:  pathing os x  |   Operating_system:  All      
--------------------------+-------------------------------------------------
 Currently when the pathing system is shutdown we use SDL_KillThread to
 kill the path-finding thread — against the advice of the SDL documentation
 — resulting in problems quitting under OS X (#42).

 This patch uses a static-global boolean variable to flag to the pathing
 thread when to quit. It is not guarded by a semaphore (there should be no
 need).

-- 
Ticket URL: <http://developer.wz2100.net/ticket/63>
Warzone 2100 Trac <http://wz2100.net/>
The Warzone 2100 Resurrection Project
_______________________________________________
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev

Reply via email to