On Tue, 2009-01-20 at 21:20 +, David W Noon wrote:
[snip]
I have noticed one thing that might shed a little light on the topic:
whenever I use a pipe for the output and I allow the pipe to stall with
a full buffer, after execution is resumed the program sometimes restarts
on the other
On Mon, 19 Jan 2009, David W Noon wrote:
Hi,
I am running FPC 2.3.1 under Linux 2.6.26 on a twin CPU AMD Athlon MP
system.
Whenever I instantiate multiple descendants of the TThread class, they
all seem to run on the same CPU, which is the same CPU as the parent
thread is running on.
Original-Nachricht
Datum: Tue, 20 Jan 2009 09:07:54 +0100 (CET)
Von: Michael Van Canneyt mich...@freepascal.org
An: FPC-Pascal users discussions fpc-pascal@lists.freepascal.org
Betreff: Re: [fpc-pascal] CPU affinity of TThread descendants
On Mon, 19 Jan 2009, David W
In our previous episode, Vinzent H?fler said:
[I.e., I want all my threads to be runnable by any CPU inside the box.]
No CPU affinity is imposed as far as I know;
Under Linux, this is not possible, at least I've never heard of such a
call.
sched_set_affinity()
sched_get_affinity()
On Tue, 2009-01-20 at 11:34 +0100, Vinzent Höfler wrote:
Original-Nachricht
Datum: Tue, 20 Jan 2009 09:07:54 +0100 (CET)
Von: Michael Van Canneyt mich...@freepascal.org
[snip]
No CPU affinity is imposed as far as I know;
Under Linux, this is not possible, at least