Join Slack
Powered by
When using a C library (via Kotlin Native) with Ko...
# kotlin-native
n
napperley
08/29/2019, 3:50 AM
When using a C library (via Kotlin Native) with Kotlin Coroutines would it be better to go with a synchronous API (eg
http://libusb.sourceforge.net/api-1.0/group__libusb__syncio.html
), or a asynchronous API (eg
http://libusb.sourceforge.net/api-1.0/group__libusb__asyncio.html
)?
b
basher
08/29/2019, 4:01 AM
coroutines can have multiple concurrent coroutine on the same thread. Better to not block
3
Views
Open in Slack
Previous
Next