摘要: 如果条件允许,起两个线程互相抢资源就行了,但问题是,时间上还需要同步,要做到完美控制,还得加其他逻辑,忒费事,所以可以用下面的办法: 在目标表上直接加个锁……简单,粗暴,直接……很好…… LOCK TABLE The LOCK TABLE statement requests a lock on a 阅读全文
posted @ 2016-08-17 15:58 盛小胖 阅读(1067) 评论(0) 推荐(0) 编辑
摘要: 1.最基本的操作cleartool co -nc xxx.cppcleartool ci -nc xxx.cpp 2.查看自己总共co了多少文件cleartool lscheckout -cview -me -avobs 3.最有用的命令cleartool man xxxcleartool help 阅读全文
posted @ 2016-08-17 10:54 盛小胖 阅读(932) 评论(0) 推荐(0) 编辑
摘要: tar 命令: http://man.linuxde.net/tar zip 命令: http://man.linuxde.net/zip unzip 命令: http://man.linuxde.net/unzip 可以为linux的 来自: http://man.linuxde.net/tar 阅读全文
posted @ 2016-08-17 10:38 盛小胖 阅读(180) 评论(0) 推荐(0) 编辑