On Fri, 23 Jan 2004 15:39:23 -0500
Snyder Adam D Civ AFRL/VACD <[EMAIL PROTECTED]> wrote:

> Hello,
>  
>             I am trying to add some calls to flightgear's main loop in order
>             to set up shared memory and semaphores, and then remove them
>             when FG exits.  The easy part is the initialization but I can't
>             find a good spot in the code to do any cleanup, due to the
>             glutMainLoop.  Any suggestions?

Have you considered registering your cleanup function with atexit()?

Bernie

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to