別再問我什麼是yield()方法了!

yield有退讓、讓步的含義,yield()方法是Thread類中的靜態本地方法,讓咱們看看方法描述:java /** * A hint to the scheduler that the current thread is willing to yield * its current use of a processor. The scheduler is free to ignore this
相關文章
相關標籤/搜索