----赖格英-----

记忆不好了,记录工作中的点点滴滴....

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2014年1月18日

摘要: 虽然版本号升的不大,但这也是一个重要的版本。作者发现了一个长期存在的bug,就是建立一个线程,如果不指定线程的优先级则默认设置为idle。(正确的应是Normal)看一下具体的改动情况:新功能:Added SetPriority function to the IOmniTaskConfig.Added indexed writers ([number] and [name]) to both TOmniValue and TOmniValueContainer. Bug修正:如果不指定线程优先级默认设置为Normal.Corrected swapped content of 'Sch 阅读全文
posted @ 2014-01-18 16:53 向北方 阅读(662) 评论(0) 推荐(0) 编辑

摘要: interfaceuses Classes, SysUtils;type TParallelProc = reference to procedure(i: Integer; ThreadID: Integer); TParallel = class(TThread) private FProc: TParallelProc; FThreadID: Integer; //current thread ID protected procedure Execute; override; function GetNextValue: Integer; public... 阅读全文
posted @ 2014-01-18 15:52 向北方 阅读(1251) 评论(0) 推荐(0) 编辑