summaryrefslogtreecommitdiffstats
path: root/tests/heavy.c
Commit message (Collapse)AuthorAgeFilesLines
* tests: fix warningsDavid Lamparter2015-04-211-0/+2
| | | | | | | While I don't see -Werror being used on tests anytime soon, there's no reason to keep the warnings in tests unfixed. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* 2004-05-25 Paul Jakma <paul@dishone.st>paul2005-04-251-162/+5
| | | | | | | | | | | | * main.c: new file, common 'main' portion which then calls test_init. * heavy.c: remove common portions now in 'main. * heavy-wq.c: ditto * heavy-thread.c: ditto * heavy*.c: Set the slow_function iteration number lower, to 300, it was several orders of magnitude too 'slow' to be useful. :) * Makefile.am: main is a source of the tests. heavy should link to the math library.
* 2004-05-21 Paul Jakma <paul@dishone.st>paul2005-04-211-9/+52
| | | | | | * heavy.c: Add a timer thread to demonstrate thread interactivity, Add a daemon_exit command to assist with debugging (eg for memory tracers, etc..)
* 2004-05-19 Paul Jakma <paul@dishone.st>paul2005-04-191-0/+225
* heavy.c: test programme to show how long-running functions kill responsiveness. Demonstrating the most niggly problem left in bgpd.