Some test programs on openMP and pthread