V
V
vosyukov2016-03-17 21:01:43
C++ / C#
vosyukov, 2016-03-17 21:01:43

How to call a function when the other two are finished?

There are two functions that call a callback when execution completes. When both functions complete, I need to start the third one, how can I do it beautifully?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Ananiev, 2016-03-17
@SaNNy32

You create a thread in which you wait for both events (event), each of which is cocked in the corresponding callback function (callback).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question