首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > gfork

gfork

  • 资源大小:381.90 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

MOVED to https://github.com/gerixx/gfork Introduction Tasks can be implemented in any public method of a Serializable class. Per default a method public void run() is used to execute a task, therefore it has to implement interface java.lang.Runnable. Example: ``` Fork f = new Fork(new MyTask()); f.execute(); f.waitFor(); ... class MyTask implements Serializable, Runnable { public void run() { ... } } ``` The fork process ends when the MyTask method run finishes. Description Term fork is borrowed from fork processes on Unix systems. In Java 6 are Unix like forks not possible. The upcoming release of Java 7 (end of year 2010) will support a Fork/Join mechanism, which seems to come very close to real forks, but also with some restr

文 件 列 表

gfork-javadoc.jar
gfork-src.jar
gfork-tests-src.jar
gfork-tests.jar
gfork.jar
COPYING.LESSER.txt
COPYING.txt
LICENSE.txt
README.txt
logging_forkRunner.properties

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.273109s