Currently all posix APIs are put into single files (pthread.c). This patch creates separate files for different API areas. Signed-off-by: Youvedeep Singh <youvedeep.singh@intel.com>