[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Basic Lanes question
- From: Thijs Koerselman <thijskoerselman@...>
- Date: Tue, 15 Nov 2011 16:41:50 +0100
I am trying to create two free running processes in parallel, like this:
lanes.gen(function() os.execute('sleep 10 && echo finished_sleeping') end)()
lanes.gen(function() os.execute('sleep 10 && echo finished_sleeping') end)()
This however takes 20 seconds. Why is that and what am I doing wrong?
Thijs