-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorporate new Native memory model into kotlinx-coroutines mainline #2833
Commits on Oct 26, 2021
-
Support of new K/N memory model
* Dispatchers.Default backed by pool of workers on Linux and by global_queue on iOS-like * Implementation of Dispatchers.Main that uses main queue on iOS and default dispatcher on other platforms (#2858) * Introduced newSingleThreadDispatcher and newFixedThreadPoolDispatcher * Use proper reentrant locking and CoW arrays on new memory model, make TestBase _almost_ race-free * More thread-safety in Native counterpart and one more test from native-mt * Source-set sharing for tests shared between JVM and K/N * Wrap Obj-C interop into autorelease pool to avoid memory leaks
Configuration menu - View commit details
-
Copy full SHA for 8cdafed - Browse repository at this point
Copy the full SHA 8cdafedView commit details -
Configuration menu - View commit details
-
Copy full SHA for 206d076 - Browse repository at this point
Copy the full SHA 206d076View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96f7dc1 - Browse repository at this point
Copy the full SHA 96f7dc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e052ea1 - Browse repository at this point
Copy the full SHA e052ea1View commit details -
Configuration menu - View commit details
-
Copy full SHA for b343d93 - Browse repository at this point
Copy the full SHA b343d93View commit details
Commits on Oct 27, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 5442a1c - Browse repository at this point
Copy the full SHA 5442a1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c8439f - Browse repository at this point
Copy the full SHA 2c8439fView commit details -
* Dispatchers.Default cannot be closed * Throwins Dispatchers.Main on Linux and Windows
Configuration menu - View commit details
-
Copy full SHA for e8a76cf - Browse repository at this point
Copy the full SHA e8a76cfView commit details -
* SharedImmutable where necessary * Disable MainDispatcherTest with old MM
Configuration menu - View commit details
-
Copy full SHA for 57d65da - Browse repository at this point
Copy the full SHA 57d65daView commit details
Commits on Nov 10, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 6ee3209 - Browse repository at this point
Copy the full SHA 6ee3209View commit details -
Update kotlinx-coroutines-core/native/test/ConcurrentTestUtilities.kt
Co-authored-by: dkhalanskyjb <52952525+dkhalanskyjb@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 575b468 - Browse repository at this point
Copy the full SHA 575b468View commit details -
Update kotlinx-coroutines-core/native/src/internal/CopyOnWriteList.kt
Co-authored-by: dkhalanskyjb <52952525+dkhalanskyjb@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d87858d - Browse repository at this point
Copy the full SHA d87858dView commit details -
Update kotlinx-coroutines-core/native/src/CoroutineContext.kt
Co-authored-by: dkhalanskyjb <52952525+dkhalanskyjb@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 93f8867 - Browse repository at this point
Copy the full SHA 93f8867View commit details -
Update kotlinx-coroutines-core/concurrent/test/AbstractDispatcherConc…
…urrencyTest.kt Co-authored-by: dkhalanskyjb <52952525+dkhalanskyjb@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 79ba184 - Browse repository at this point
Copy the full SHA 79ba184View commit details -
Update kotlinx-coroutines-core/concurrent/test/AbstractDispatcherConc…
…urrencyTest.kt Co-authored-by: dkhalanskyjb <52952525+dkhalanskyjb@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 63877dd - Browse repository at this point
Copy the full SHA 63877ddView commit details -
Update kotlinx-coroutines-core/native/src/EventLoop.kt
Co-authored-by: dkhalanskyjb <52952525+dkhalanskyjb@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 51aa77f - Browse repository at this point
Copy the full SHA 51aa77fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c77e852 - Browse repository at this point
Copy the full SHA c77e852View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6f2d5c - Browse repository at this point
Copy the full SHA a6f2d5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f8e6661 - Browse repository at this point
Copy the full SHA f8e6661View commit details
Commits on Nov 11, 2021
-
Update kotlinx-coroutines-core/nativeDarwin/src/Dispatchers.kt
Co-authored-by: dkhalanskyjb <52952525+dkhalanskyjb@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 2da3434 - Browse repository at this point
Copy the full SHA 2da3434View commit details -
Update kotlinx-coroutines-core/concurrent/test/RunBlockingTest.kt
Co-authored-by: dkhalanskyjb <52952525+dkhalanskyjb@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for ef2f6fc - Browse repository at this point
Copy the full SHA ef2f6fcView commit details -
Update kotlinx-coroutines-core/nativeDarwin/src/Dispatchers.kt
Co-authored-by: dkhalanskyjb <52952525+dkhalanskyjb@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 3412db3 - Browse repository at this point
Copy the full SHA 3412db3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ac83ee - Browse repository at this point
Copy the full SHA 6ac83eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for f005b54 - Browse repository at this point
Copy the full SHA f005b54View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5564b35 - Browse repository at this point
Copy the full SHA 5564b35View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7e8d79 - Browse repository at this point
Copy the full SHA d7e8d79View commit details