Skip to content

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

Description

@Xianicai

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions