You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A. 要在多个线程间安全的同步共享数据就必须使用锁,新的并发工具包中的线程安全对象或者其它具有锁效应的线程安全数据结构
B. 建议使用线程组来管理线程资源
C. 缺省的线程名Thread-n无法区分出是哪个线程,给问题定位带来不便
D. Thread.yield()对线程调度器仅仅是个提示,不保证确定的效果,因此代码也不能依赖Thread.yield()方法
你的回答A、C、D \A、B、C、D \A、B、D 是错的。暂时不知道答案
The text was updated successfully, but these errors were encountered:
以下说法正确的是 ( )(3分)
A. 要在多个线程间安全的同步共享数据就必须使用锁,新的并发工具包中的线程安全对象或者其它具有锁效应的线程安全数据结构
B. 建议使用线程组来管理线程资源
C. 缺省的线程名Thread-n无法区分出是哪个线程,给问题定位带来不便
D. Thread.yield()对线程调度器仅仅是个提示,不保证确定的效果,因此代码也不能依赖Thread.yield()方法
你的回答A、C、D \A、B、C、D \A、B、D 是错的。暂时不知道答案
The text was updated successfully, but these errors were encountered: