comp.lang.ada
 help / color / mirror / Atom feed
* gcov in multithreaded applications
@ 2000-08-30  0:00 daelen
  2000-08-30  0:00 ` Robert A Duff
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: daelen @ 2000-08-30  0:00 UTC (permalink / raw)


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.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-09-07 23:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-08-30  0:00 gcov in multithreaded applications daelen
2000-08-30  0:00 ` Robert A Duff
2000-08-31 21:58 ` Jean-Pierre Rosen
2000-09-07 23:44 ` Dr Adrian Wrigley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox