9747704c8b
1. Rearrange tasks for C++ and Kotlin compilation in concurrent sample. It allows the build to download all dependencies before the compilation. 2. Don't copy *.kt.bc-build directories in the distribution archive.
Concurrent
This example shows how to implement concurrent programming in Kotlin/Native. In this example we start multiple threads running concurrently and exchange messages with them.
To build cpp use ./buildCpp.sh.
To build kotlin native use ../gradlew build or ./build.sh.
To run use ../gradlew run
Alternatively you can run artifact directly
./build/konan/bin/MessageChannel/MessageChannel.kexe
It will print all passed messages.