Kernel yield function
leda.yield implemented