Re: un-determined behavior of asyncs

2013-05-20 Thread Andy Wingo
On Mon 20 May 2013 16:44, Chaos Eternal writes: > I just want to understand whether this random execution order of > asyncs is designed or desired or not-specified ? Your program has no synchronization so I am not sure what you expect it to do. There's not even any guarantee that the thread is

un-determined behavior of asyncs

2013-05-20 Thread Chaos Eternal
hi gurus, I wrote a short code to inspect the behavior of asyncs, and find that neither the running time nor the order of execution is determined, in fact , i find that the execution order of asyncs are random. I just want to understand whether this random execution order of asyncs is designed or