After a bit of research , the issue of setting the cpu affinity has been
solved , which may be of use to other folks.
A bit of info here concerning the data type cpu_set_t , which as far as I
can determine (no help from the mess that is the c library source) is
essentially an array of DWORD. For m
Reported as http://bugs.freepascal.org/view.php?id=25331. This "one point
more" from my original email was probably some my temporary problem,
because I am not able to repeat it again.
regards
tomas
___
fpc-pascal maillist - fpc-pascal@lists.freepasca
Am 19.11.2013 10:21 schrieb "Xiangrong Fang" :
>
> Hi,
>
> In my TTree class:
https://github.com/xrfang/fpcollection/blob/master/src/units/tree.pas
>
> I have the following method:
>
> function TTree.Load(s: TStream): Integer;
> var
> lv, c: QWord;
> node: TTree;
> buf: Pointer;
> begin
> C
2013/11/19 Xiangrong Fang
>
> Now I have a problem. CALL#1 is virtual as expected (sub-class's OnRestore
> is called), but CALL#2 is not virtual, it just call the (empty) OnRestore
> method defined in TTree.
>
> How to solve this problem?
>
BTW, this also does NOT solve the problem:
TSelfType(n
Hi,
In my TTree class:
https://github.com/xrfang/fpcollection/blob/master/src/units/tree.pas
I have the following method:
function TTree.Load(s: TStream): Integer;
var
lv, c: QWord;
node: TTree;
buf: Pointer;
begin
Clear;
if not ReadNodeData(s, lv, buf, c) then Exit(0);
DoRestore(buf