Simple example of calling pthread. Must be linked with the option '-pthread' under FreeBSD. Files: sample.c (source code) and Makefile