Delphi與DirectX之DelphiX(14)(2)
窗體文件:object Form1: TForm1 Left = 0 Top = 0 Caption = Form1 ClIEntHeight = 226 C
Delphi與DirectX之DelphiX(15)(2)
窗體文件:object Form1: TForm1 Left = 0 Top = 0 Caption = Form1 ClIEntHeight = 154 C
多線程編程(6)-從 CreateThread 說起[續四](2)
窗體文件:object Form1: TForm1 Left = 0 Top = 0 Caption = Form1 ClIEntHeight = 106 C
多線程編程(8)-多線程同步之CriticalSection(臨界區)(2)
前面說過, 最簡單的同步手段就是 臨界區.先說這個 同步(Synchronize), 首先這個名字起的不好, 我們好像需要的是 異步; 其實異步也不准確...
多線程編程(10) - 多線程同步之Mutex(互斥對象)(2)
代碼文件:unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, G
多線程編程(12) - 多線程同步之Semaphore(信號對象)(2)
本例效果圖:代碼文件:unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Clas
多線程編程(12) - 多線程同步之Semaphore(信號對象)(3)
再用 SyncObJS 單元下的 TSemaphore 類實現一次, 使用方法差不多, 運行效果也一樣:unit Unit1;interfaceuses Wi
多線程編程(13) - 多線程同步之Event(事件對象)(2)
窗體文件:object Form1: TForm1 Left = 0 Top = 0 Caption = Form1 ClIEntHeight = 149 C
多線程編程(14) - 多線程同步之WaitableTimer(等待定時器對象)(2)
代碼文件:unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, G
多線程編程(14) - 多線程同步之WaitableTimer(等待定時器對象)(3)
代碼文件:unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, G
多線程編程(15) - 多線程同步之WaitableTimer(等待定時器對象)[續](2)
當我們需要一個絕對時間時, 譬如 2009-2-18 13:10:5, 函數需要的 Int64 值應該是個 TFileTime 格式的時間.先看三種相關時間類