lijiannan_1981
著名写手
著名写手
  • 铜币15枚
  • 威望0点
  • 贡献值0点
阅读:438回复:3

有关"多线程"的实例研究:P

楼主#
更多 发布于:2005-07-18 14:54
人们广泛关注的性爱行为就是一个多线程问题:

class makelove implements Runnable {
Thread t;
makelove() {
//Create a new Thread of makelove
t = new Thread(this,"make love");
t.start();
}
public void run() throws
过程中突然阳痿Exception,女人突然来了大姨妈Exception,有人敲门Exception,电话响了
Exception,地震Exception {
try {
while((男人兴奋想做了||女人淫荡想做了)&&身体情况允许){
前奏;


开始做;
结束;
Thread.sleep(合适时间)
}
}
}

class love implements Runnable {
Thread t;
makelove() {
//Create a new Thread of love
t = new Thread(this,"love");
if (合适异性出现)
t.start();
}
public void run() throws 双方家长反对Exception,
前任男友/女友搅局Exception{
开始耍朋友;
}
}
无。
ApH
ApH
知名人士
知名人士
  • 铜币0枚
  • 威望0点
  • 贡献值0点
1C#
发布于:2005-07-18 19:56
Re:有关"多线程"的实例研究:P
要有个性!
suchasplus
作家
作家
  • 铜币16枚
  • 威望11点
  • 贡献值1点
2C#
发布于:2005-07-18 19:48
Re:有关"多线程"的实例研究:P
JAVA性爱分析模拟器~
The history of these days will be written in blood... By crushing the armies of our enemy, by seizing the weapons they thought to turn against us, we were fighting for our very existence!
0000
作家
作家
  • 铜币143枚
  • 威望34点
  • 贡献值1点
3C#
发布于:2005-07-18 18:54
Re:有关"多线程"的实例研究:P
搞。。。。;-D
.--. |o_o | |:_/ | // \ \ (| | ) /'\_ _/`\ \___)=(___/
游客

返回顶部