fixed spin so that it waits for the second ID allocated on first core; fixes race condition
fixed spin so that it waits for the second ID allocated on first core; fixes
race condition

SESA/EBBlib,SESA/EBBlib,jmcadden/EBBlib,SESA/EBBlib,SESA/EBBlib,jmcadden/EBBlib,jmcadden/EBBlib,jmcadden/EBBlib