import stackless
def test_schedule():
	while 1:
		t=stackless.run(100)
		t.insert()
def a():
	while 1:
		print 'test a'
def b():
	while 1:
		print 'test b'

stackless.tasklet(a)()
stackless.tasklet(b)()
test_schedule()
