The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

The example is not wrong in and of itself, but somewhat misleading (it was at least for me).The :id should actually be the key of the ref, which is what is being changed by the threads. I think the text tries to allude to the significance of the :id a bit in the final note, in that you will see way more clashes of id's if you run this example with commute instead of alter, but it is a bit obscure.
Please take a look at http://stackoverflow.com/questions/36050597/what-is-wrong-with-this-ref-set-up for the details of how I run it in a multithreaded setting.