Merged
Conversation
runBlocking, launch, async, join, await, CoroutineName
CoroutineDispatcher: 코루틴을 스레드로 보내거나 실행을 위해 대기열에 추가하는 코루틴 관리자 - newFixedThreadPoolContext - 부모 코루틴과 자식 코루틴 구조 - Dispatchers.Default, Dispatchers.IO, limitedParallelism
There was a problem hiding this comment.
Pull Request Overview
This PR adds a set of coroutine tests to verify the behavior of various coroutine builders (runBlocking, launch, async) and dispatchers in Kotlin, ensuring that coroutine names, delay handling, and thread usage conform to expected patterns.
- Added tests for coroutine builders and their returned objects.
- Tested CoroutineName usage and behavior of various CoroutineDispatchers including newFixedThreadPoolContext and Dispatchers with limitedParallelism.
- Verified thread daemon properties and shared thread pool behaviors.
Deferred가 Job의 하위 타입임을 명확히 하기 위해 테스트 설명을 업데이트하고 이를 확인하는 assert 문을 추가
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
본격적인 코루틴 학습 테스트에 앞서, 기본 개념 및 동작 방식 숙지 목적의 테스트 코드 작성
Next Feature
코루틴 빌더 launch 와 Job