On Mon, Feb 22, 2016 at 4:01 PM, Steve Wampler <swamp...@noao.edu> wrote:

> On 02/22/2016 12:56 PM, Jafar Al-Gharaibeh wrote:
> ...
> > while 0 <= (n-:= 1) do { put(Workforce, id := ( thread worker(<<@)) );
> id @>> id }
>
> Am I reading this correctly that the argument passed to each worker is its
> enclosing thread?  [id @>> id]
> worker must be really interesting!
>

Yes, that is correct. Alternatively, worker() can also use &current to know
its enclosing thread. So it doesn't really need id to be passed down.

--Jafar


> --
> Steve Wampler -- swamp...@noao.edu
> The gods that smiled on your birth are now laughing out loud.
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> _______________________________________________
> Unicon-group mailing list
> Unicon-group@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/unicon-group
>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Unicon-group mailing list
Unicon-group@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to