delphi 线程对象创建是否自动执行execute方法

2025-03-17 08:42:03
推荐回答(1个)
回答1:

if (lock == null) {
if (runnable != null) runnable.run ();
return;
}
synchronized (lock) {
boolean interrupted = false;
while (!lock.done ()) {
try {
lock.wait ();
} catch (InterruptedException e) {