how to do a simple task in parallel | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how to do a simple task in parallel

how to use a timely sequence, at the same time we use a processo called every time a click call another routine.

24th Jun 2016, 11:03 PM
Rogério de Jesus
Rogério de Jesus - avatar
3 Answers
0
I imagine a process parallel where I turn on a timer running in 60sec and in any time I can acess a button and it respond with your function sequence independent. At final 60sec the timer done and another function is executed counting more 30sec. and repeating it until a second button cancel. in this interval I need acess the firt button every time I want without stop the counting time 60/30sec.
25th Jun 2016, 3:31 AM
Rogério de Jesus
Rogério de Jesus - avatar
0
I really do not see the difetence, this way... but I understand it can do my project run two routine in same time?
26th Jun 2016, 10:08 PM
Rogério de Jesus
Rogério de Jesus - avatar
0
I dont want that one routine ends before another start, I need it runs every time I click and another still running.
26th Jun 2016, 10:09 PM
Rogério de Jesus
Rogério de Jesus - avatar