The spin_loop() function now uses generate_spin_id_unique() when the return_id flag is set.
This ensures that the caller received a unique spin ID which can be used to retrieve the corresponding spin container.
Authored by: bugman 2013-03-10
Parent: [r18741]
Child: [r18743]