prereq: ./supported_libpthread
prog: monitor_example