Looking for code to implement this simple asynchronous example -
i'm looking simple example of asynchronous code ( preferable in vb .net ) this:
main() async sub1() async sub2() await sub1() print "end" end sub1() n=1 1000 { } next end sub sub2() if n=500 in sub1() print "hello" end sub
an alternative be:
main() async sub1() async sub2() await sub1() print "end" end sub1() n=1 1000 if n=500 send signal { } next end sub sub2() if signal received print "hello" end sub
Comments
Post a Comment