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

如果一个ATask内部开启了子线程去执行网络调度,依赖ATask的BTask 是不受 新开的线程是不受阻塞的 #45

Open
Xianicai opened this issue Jan 6, 2024 · 0 comments

Comments

@Xianicai
Copy link

Xianicai commented Jan 6, 2024

class ASYNC_TASK_2 : TestTask(Datas.ASYNC_TASK_2, true) {
override fun run(name: String) {
doJob(200)
Thread(Runnable {
//接口请求
Thread.sleep(2000)
}).start()
}
}

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

No branches or pull requests

1 participant