Help for this page

Select Code to Download


  1. or download this
    -module(myring).
    
    ...
        NPid = spawn(?MODULE, start_proc, [Num-1, Pid]),
        NPid ! ok,
        receive ok -> ok end.
    
  2. or download this
    3> timer:tc(myring,start,[10000]). 
    {14283,ok}