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=1.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,67d0b159688c1254,start X-Google-Attributes: gid103376,public From: daelen@my-deja.com Subject: gcov in multithreaded applications Date: 2000/08/30 Message-ID: <8oip2j$ut0$1@nnrp1.deja.com>#1/1 X-Deja-AN: 664272551 X-Http-Proxy: 1.0 www-proxy1.eur.cis.philips.com:8080 (Squid/2.2.STABLE4), 1.0 x57.deja.com:80 (Squid/1.1.22) for client unknown, 192.68.44.33 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Wed Aug 30 10:53:12 2000 GMT X-MyDeja-Info: XMYDJUIDdaelen Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows NT) Date: 2000-08-30T00:00:00+00:00 List-Id: I am working with Gnat 3.13a on Windows NT 4.0. I would like to use gcov to profile our application containing several tasks. The problem is that the da-files are written when the application exits, but because most tasks contain infinit loops, the main program will not exit. I tried Win32.Winbase.ExitProcess but no da-files are written then. - so how to write intermediate profiling info to the da-files without having to exit the application. - or how to exit or terminate the application in such a way that the da- files are written. Note that aborting the tasks is not an option because not all tasks- names are known or in scope. Regards, Jorg van Daelen Sent via Deja.com http://www.deja.com/ Before you buy.