On 16 August 2013 09:23, Ted Unangst <t...@tedunangst.com> wrote: > Actually, here's my concern. There's only one timeout for the process. > What happens when two threads are running on two CPUs? Is there a > guarantee that cpu0 will both set and execute the timeout before cpu1 > sets it, or is there a race where cpu1 will fail to send the signal to > its thread because cpu0 has already processed the timeout? >
softclock and hence the timeout processing is done only by the cpu0 currently.