A
aonlazio
I have a question.
If I have, say object A and object B and function C. Then, I set
object B to do some stuff only if object A receives a certain message
while my program continues running function C. Suddenly, object A
receives the message (and supposedly object B should be triggered to
do the stuff) . From this point, how can I set my program to go back
to run object B stuff while it is running function C and when it
finishes that object B task it come back to run function C. (like
interrupting somehow).
Thanks in advance.
If I have, say object A and object B and function C. Then, I set
object B to do some stuff only if object A receives a certain message
while my program continues running function C. Suddenly, object A
receives the message (and supposedly object B should be triggered to
do the stuff) . From this point, how can I set my program to go back
to run object B stuff while it is running function C and when it
finishes that object B task it come back to run function C. (like
interrupting somehow).
Thanks in advance.