acl/lib_fiber/samples-c++1x/fiber_connect/valgrind.sh

10 lines
405 B
Bash
Executable File

#!/bin/sh
#valgrind --tool=memcheck --leak-check=yes --leak-check=full --show-reachable=yes --max-stackframe=3426305034400000 -v ./fiber -n 10 -m 20
valgrind --tool=memcheck --leak-check=yes --leak-check=full --show-reachable=yes -v ./fiber_connect -S
echo ""
echo "Enter any key to continue..."
read n
valgrind --tool=memcheck --leak-check=yes --leak-check=full --show-reachable=yes -v ./fiber_connect