futures.pas
来自「Delphi技术手册源码 Delphi技术手册源码」· PAS 代码 · 共 16 行
PAS
16 行
unit Futures;
interface
// A "future" is an object that promises to provide a value
// sometime in the future. The value is computed in a background
// thread. When the application needs the value, it requests the
// value from the future--if the future isn't done, the application
// waits until the value is ready.
//
// All the synchronization issues are hidden from the application.
//
// Use the TFuture class by deriving a new class that overrides
// the Compute method.
//
// Copyright
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?