dart-lang / native

Dart packages related to FFI and native assets bundling.
BSD 3-Clause "New" or "Revised" License
102 stars 35 forks source link

Document threading model #611

Open nt4f04uNd opened 1 year ago

nt4f04uNd commented 1 year ago

Hello, thanks for this awesome tool - this is something that I have been dreaming of :-)

It would be useful to have documentation on this: which thread is a call to JNI executed, and if there is, other stuff that one should be aware of before calling to JNI.

mahesh-hegde commented 1 year ago

Here are few things:

Nothing else comes to mind.

Of course we should document it, and add an example to each of these. Especially calling something from different isolate.