From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bff0c2e09500f856,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-02-04 18:07:59 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!xmission!news-out.spamkiller.net!propagator-maxim!news-in.spamkiller.net!feed.newsfeeds.com!dfw-feed.news.verio.net!news.verio.net!stl-feed.news.verio.net!newsreader.wustl.edu!unlnews.unl.edu!newsfeed.ksu.edu!nntp.ksu.edu!news.okstate.edu!not-for-mail From: David Starner Newsgroups: comp.lang.ada Subject: How do I end the program? Date: 4 Feb 2002 23:15:31 GMT Organization: Oklahoma State University Message-ID: Reply-To: starner@okstate.edu NNTP-Posting-Host: x8b4e5449.dhcp.okstate.edu User-Agent: slrn/0.9.7.3 (Linux) Xref: archiver1.google.com comp.lang.ada:19617 Date: 2002-02-04T23:15:31+00:00 List-Id: How do I exit the program? It may seem like a silly question, but I'm trying to exit from a function called from a callback written in C, so I can't just return or raise an exception. glutMainLoop never returns, so I can't run off the end of the main function. I used GNAT.OS_Lib.OS_Exit. Is there a pure Ada alternative? -- David Starner - starner@okstate.edu, dvdeug/jabber.com (Jabber) Pointless website: http://dvdeug.dhis.org What we've got is a blue-light special on truth. It's the hottest thing with the youth. -- Information Society, "Peace and Love, Inc."