Skip to content

Version 1.3.0 #1462

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

Merged
merged 13 commits into from
Aug 23, 2019
Merged

Version 1.3.0 #1462

merged 13 commits into from
Aug 23, 2019

Conversation

qwwdfsad
Copy link
Collaborator

No description provided.

qwwdfsad and others added 12 commits August 14, 2019 11:28
…ctor.FlowKt with properly named files

Otherwise, it leads to a weird classname clash and forces to write FQ imports
* Introduce (again) flowProduce in order to properly propagate cancellation to the upstream in flatMapMerge.

Previously this issue was masked by SerializingCollector fast-path

* Re-implement flatMapMerge via the channel to have context preservation property

Fixes #1440
* Optimize select expression registration phase

There is no need for multi-word atomic performAtomicIfNotSelected
operation when enqueuing select node for operation. We can simply
enqueue (addLast) xxxSelect node (SendSelect, ReceiveSelect, LockSelect).
If the coroutine that rendezvous with this node finds out that the
select expression was already selected, then it'll try again.

* Removed SelectInstance.performAtomicIfNotSelected function
* Removed Mutex.TryEnqueueLockDesc class, simplified onLock
* Removed AbstractSendChannel.TryEnqueueSendDesc class, simpler onSend
* Removed AbstractChannel.TryEnqueueReceiveDesc class, simpler onReceive
* Simplified SelectInstance.disposeOnSelect. It does not have to
  do atomic addLastIf operation. Can do a simple addLast.

* Fixed unlimited channel select onSend on closed channel

It was hanging not being able to properly see that the channel was
already closed at that send attempt should fail.
* Flow guide by example

* Consistent chapter naming and ordering in docs
* Make "supervision" a subsection of "Exception Handling" chapter
* Knit: filter out sampleStart/End from Knit-generated source files
* Knit: Support example auto-numbering
# Conflicts:
#	ui/kotlinx-coroutines-android/animation-app/gradle.properties
#	ui/kotlinx-coroutines-android/example-app/gradle.properties
@qwwdfsad qwwdfsad requested a review from elizarov August 22, 2019 18:02
Copy link
Contributor

@elizarov elizarov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some grammar nits. Great otherwise.

@qwwdfsad qwwdfsad merged commit f7335d0 into master Aug 23, 2019
@qwwdfsad qwwdfsad deleted the version-1.3.0 branch October 2, 2019 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants