added comments about syncing
S and R status added to AllocateBuffer and Check_Request
Added block for arriving extra S and R threads, changing ipdex.h and ipdex_fomat.h names