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

CopyableThreadContextElement implementation #3227

Merged
merged 26 commits into from
Apr 4, 2022
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
fe34623
Prototype of merge and eager copy
qwwdfsad Jan 31, 2022
091a3d7
CopyableThreadContextElement -- second iteration
qwwdfsad Feb 1, 2022
1857404
Speed-up newCoroutineContext for 'withContext' which is the biggest p…
qwwdfsad Feb 15, 2022
774031e
Better naming and @Delicate coroutines API
qwwdfsad Feb 15, 2022
8563d46
Update binary API dump
qwwdfsad Feb 15, 2022
7757b06
~documentation tweaks
qwwdfsad Mar 30, 2022
027e267
Update kotlinx-coroutines-core/common/src/CoroutineContext.common.kt
qwwdfsad Apr 1, 2022
05479c9
Update kotlinx-coroutines-core/common/src/CoroutineContext.common.kt
qwwdfsad Apr 1, 2022
1f7fa0b
Update kotlinx-coroutines-core/common/src/CoroutineContext.common.kt
qwwdfsad Apr 1, 2022
e9f31d9
Update kotlinx-coroutines-core/jvm/src/CoroutineContext.kt
qwwdfsad Apr 1, 2022
be8161a
Update kotlinx-coroutines-core/common/src/CoroutineContext.common.kt
qwwdfsad Apr 1, 2022
a85e8fb
Update kotlinx-coroutines-core/jvm/src/CoroutineContext.kt
qwwdfsad Apr 1, 2022
f572e8b
Update kotlinx-coroutines-core/jvm/src/CoroutineContext.kt
qwwdfsad Apr 1, 2022
ff5083b
Update kotlinx-coroutines-core/jvm/src/CoroutineContext.kt
qwwdfsad Apr 1, 2022
31b57ad
Update kotlinx-coroutines-core/jvm/src/ThreadContextElement.kt
qwwdfsad Apr 1, 2022
db0d613
Update kotlinx-coroutines-core/jvm/test/ThreadContextMutableCopiesTes…
qwwdfsad Apr 1, 2022
20bedf9
Update kotlinx-coroutines-core/jvm/src/ThreadContextElement.kt
qwwdfsad Apr 1, 2022
479481e
Update kotlinx-coroutines-core/jvm/src/CoroutineContext.kt
qwwdfsad Apr 1, 2022
a32036c
Update kotlinx-coroutines-core/jvm/src/ThreadContextElement.kt
qwwdfsad Apr 1, 2022
64163c1
Update kotlinx-coroutines-core/jvm/src/CoroutineContext.kt
qwwdfsad Apr 1, 2022
9750b59
~small tweaks
qwwdfsad Apr 1, 2022
5360968
Update kotlinx-coroutines-core/jvm/src/ThreadContextElement.kt
qwwdfsad Apr 1, 2022
20a0da8
~clarify doc sentence
qwwdfsad Apr 2, 2022
e9f02f1
Update kotlinx-coroutines-core/jvm/src/ThreadContextElement.kt
qwwdfsad Apr 4, 2022
9dfb868
~clarify doc sentence
qwwdfsad Apr 4, 2022
60c43c9
~
qwwdfsad Apr 4, 2022
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
~clarify doc sentence
  • Loading branch information
qwwdfsad committed Apr 2, 2022
commit 20a0da8fbacb2b3a7c299224e1a498606fb0523d
4 changes: 2 additions & 2 deletions kotlinx-coroutines-core/jvm/src/ThreadContextElement.kt
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ public interface ThreadContextElement<S> : CoroutineContext.Element {
* }
* ```
*
* A coroutine using this mechanism can safely call Java code that assumes it's called using a
* `Thread`.
* A coroutine using this mechanism can safely call Java code that assumes the corresponding thread local element's
* value is installed into the target thread local.
*/
@DelicateCoroutinesApi
dkhalanskyjb marked this conversation as resolved.
Show resolved Hide resolved
@ExperimentalCoroutinesApi
Expand Down