1、Java新建线程异步调用示例
new Thread(new Runnable() {
public void run() {
try {
sendEmail(null, to, subject, content);
} catch (Exception ex) {
}
}
}).start();
1、Java新建线程异步调用示例
new Thread(new Runnable() {
public void run() {
try {
sendEmail(null, to, subject, content);
} catch (Exception ex) {
}
}
}).start();