Skip to content
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

Version 1.3.4 #1846

Merged
merged 52 commits into from
Mar 6, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
24f5f9c
Better diagnostics on ChannelSelectStressTest failure
elizarov Dec 13, 2019
8a6e8d1
Merge branch 'master' into develop
qwwdfsad Dec 16, 2019
cc3d8c4
update `broadcastIn` comment to refer to itself instead of `produce`
Dec 16, 2019
f8b3c44
Fix TestBase example in kdoc
mareklangiewicz Dec 14, 2019
476d6de
Authenticate in 'kotlin-dev' repo on Bintray
Dec 16, 2019
60f8688
Use common SharedImmutable declaration from stdlib
elizarov Dec 17, 2019
12a0318
Use common ThreadLocal declaration from stdlib
elizarov Dec 19, 2019
70e3583
Make CoroutinesDumpTest deterministic
qwwdfsad Dec 25, 2019
c526c3f
Do not request additional worker from 'yield' calls and during post-e…
qwwdfsad Dec 25, 2019
c5e6e03
Generate site using Jekyll via Docker
elizarov Dec 25, 2019
16d2606
Site building docs updated
elizarov Dec 25, 2019
1f77783
Fix non-linearizability in `ArrayChannel` while moving an element fro…
ndkoval Dec 25, 2019
4f24a7a
Update lincheck to 2.5.3 and re-write the corresponding tests
ndkoval Nov 12, 2019
fe15b6d
Flow.flattenMerge benchmark (#1464)
fmixing Dec 26, 2019
345458b
ReceiveChannel.receiveAsFlow extension (#1731)
elizarov Dec 26, 2019
f18e0e4
Merge branch 'master' into develop
qwwdfsad Jan 15, 2020
3d59fef
Fix context support in Publisher.asFlow.flowOn
elizarov Jan 21, 2020
642989e
Disable companions test in binary-compatibility-validation in train b…
qwwdfsad Jan 24, 2020
6810745
Request elements in batches in ReactiveFlow to avoid requesting eleme…
qwwdfsad Jan 27, 2020
fb990b0
Disable CasesPublicAPITest completely for train builds
qwwdfsad Feb 4, 2020
cf5da1a
Remove extraneous word in comment
EricAtPlanGrid Feb 4, 2020
09cb4bf
Fix tests hanging when `verifyDump` fails
dkhalanskyjb Feb 4, 2020
e153863
Integration with binary-compatibility-validator plugin (#1790)
qwwdfsad Feb 10, 2020
387d1dd
Improve test style
dkhalanskyjb Feb 10, 2020
91e4d77
Fix failing publication validation
dkhalanskyjb Feb 11, 2020
90a9faf
Update module name for kotlinx-coroutines-core-common artifact
elizarov Feb 12, 2020
0126dba
ConflatedChannel with lock to protect the one-element buffer, double-…
mvicsokolova Nov 25, 2019
4aa3880
Detect missing awaitClose calls in callbackFlow and close channel wit…
qwwdfsad Feb 13, 2020
b64a23b
Improve FieldWalker, don't access JDK classes (#1799)
elizarov Feb 13, 2020
de491d2
Make SafeCollector platform-specific declaration and enforce exceptio…
qwwdfsad Feb 13, 2020
9f4fd70
Fix a race in some tests for JavaRX integration (#1801)
dkhalanskyjb Feb 13, 2020
455c255
Introduce ExecutorRule for stress-tests for simpler development process
qwwdfsad Feb 13, 2020
1ed6fcc
Indicate that root README should be updated with new contributions (#…
MariusVolkhart Feb 13, 2020
660c2d7
Use a separate Knit tool (#1486)
elizarov Feb 14, 2020
1ac3dc2
Build project using JDK 11 (#1733)
elizarov Feb 14, 2020
bf9509d
Optimize the size of the coroutines library in Android projects (#1282)
elizarov Feb 14, 2020
6d1a6e3
Update copyright year
qwwdfsad Feb 18, 2020
3651276
Make publication validator part of the project (#1820)
dkhalanskyjb Feb 21, 2020
21bb6fb
Temporary workaround bug in K/N 1.3.70 codegen (KT-37061)
qwwdfsad Feb 26, 2020
d4fabbf
Fixed regularized 'when' inference to build train
elizarov Mar 3, 2020
ca1093c
Restore AsyncJvmTest
qwwdfsad Mar 3, 2020
4a53d23
Atomically start coroutines in intermediate Flow operators in order t…
qwwdfsad Mar 3, 2020
cf473d2
Kotlin 1.3.70 (#1837)
elizarov Mar 4, 2020
c684d04
Knit version 0.1.3 (#1838)
elizarov Mar 4, 2020
6862afc
Simpler and faster lock-free linked list (#1565)
elizarov Mar 4, 2020
12e96cd
Implement ObservableValue<T>.asFlow() (#1789)
dkhalanskyjb Mar 4, 2020
d831a86
Add ObservableSource.asFlow operator (#1768)
mareklangiewicz Feb 23, 2020
8d8a8fb
Reuse RxJava built-in disposed Disposable (#1841)
qwwdfsad Mar 4, 2020
214f156
Leverage polymorphic keys un CoroutineDispatcher and ExecutorCoroutin…
qwwdfsad Mar 5, 2020
c67aed0
Migrate experimental annotations to new API and provide custom warnin…
qwwdfsad Mar 5, 2020
7df61ee
Fixed memory leak on a race between adding/removing from lock-free li…
elizarov Mar 6, 2020
bb3cf09
Version 1.3.4
qwwdfsad Mar 6, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use common ThreadLocal declaration from stdlib
  • Loading branch information
elizarov committed Dec 19, 2019
commit 12a0318337e1985960fabf053127590e2981c7de
2 changes: 1 addition & 1 deletion kotlinx-coroutines-core/common/src/EventLoop.common.kt
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ internal abstract class EventLoop : CoroutineDispatcher() {
protected open fun shutdown() {}
}

@NativeThreadLocal
@ThreadLocal
internal object ThreadLocalEventLoop {
private val ref = CommonThreadLocal<EventLoop?>()

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
/*
* Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
* Copyright 2016-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/

package kotlinx.coroutines.internal

@OptionalExpectation
@UseExperimental(ExperimentalMultiplatform::class)
internal expect annotation class NativeThreadLocal()

internal expect class CommonThreadLocal<T>() {
fun get(): T
fun set(value: T)
Expand Down