Multithreading - working with threads in Kotlin
I am currently studying the basins and want to understand the work with multithreading, but I can not understand the task
Calculate f (x) * g (x) using 2 auxiliary threads: one calculates f (x) and the other g (x). The main program performs I / O and operation *.
Note that the functions f and g - can be partially defined (ie "loop" and never return the result). It is necessary to process such situation correctly and to ask the user: "to continue calculation, to stop or to continue, without...