会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
_Winterfell
Night gathers, and now my watch begins... I pledge my life and honor to the Night's Watch, for this night and all the nights to come.
博客园
首页
新随笔
联系
订阅
管理
2021年4月23日
BUAA_OO_UNIT2
摘要: ~~多线程是检验一个人血统是否为欧皇的极佳标准~~ 1. 第一次作业 1.1 同步块设置与锁的选择 由于Input与Elevator只会从Tray(货架)中put或get纸片人,故同步块只涉及Tray中方法。刚开始接触多线程学得比较菜,所以直接把所有可能产生data race的方法都加了sync
阅读全文
posted @ 2021-04-23 20:53 _Winterfell
阅读(97)
评论(1)
推荐(1)
公告