- 博客(8)
- 资源 (4)
- 收藏
- 关注
原创 Shell 数组
#!/bin/bashs="http://itms-server.sh.intel.com:8080/iTMS1/httpExportSubTestPlanToXml.action?subPlanId="ID=(1278 1280 1281 1282 1283 1285 1286 1287 1288 1289 1290 1291 1293 1294 1295 1296 1297 1298 1
2013-07-31 10:04:21 508
Shell 数组
#!/bin/bashs="http://itms-server.sh.intel.com:8080/iTMS1/httpExportSubTestPlanToXml.action?subPlanId="ID=(1278 1280 1281 1282 1283 1285 1286 1287 1288 1289 1290 1291 1293 1294 1295 1296 1297 1298 1...
2013-07-31 10:04:00 68
原创 线程生产者与消费者
线程出现重复取和重复赋值的情况class Info{ private String name; private String content; public void setName(String name){ this.name = name ; } public void setContent(String content){ this.content = conten
2013-07-07 18:07:23 613
线程生产者与消费者
线程出现重复取和重复赋值的情况class Info{ private String name; private String content; public void setName(String name){ this.name = name ; } public void setContent(String content){ this.content = conte...
2013-07-07 18:07:00 71
原创 线程死锁
class Zhangsan { public void say(){ System.out.println("张三对李四说:你把画给我,我把书给你"); } public void get(){ System.out.println("张三得到了画"); }}class Lisi { public void say(){ System.out.println("李四
2013-07-07 12:16:28 529
线程死锁
class Zhangsan { public void say(){ System.out.println("张三对李四说:你把画给我,我把书给你"); } public void get(){ System.out.println("张三得到了画"); }}class Lisi { public void say(){ System.out.println(...
2013-07-07 12:16:00 63
原创 线程同步
class Ticket implements Runnable{ private int count = 5; @Override public void run(){ for(int i=1; i<=100; i++){ sale(); } } private synchronized void sale(){ if(count >0){ try{
2013-07-07 11:27:17 523
线程同步
class Ticket implements Runnable{ private int count = 5; @Override public void run(){ for(int i=1; i<=100; i++){ sale(); } } private synchronized void sale(){ if(count >0){ t...
2013-07-07 11:27:00 62
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人