Re: [fpc-pascal] CPU affinity of TThread descendants

2009-01-20 Thread Michael Van Canneyt
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.

Re: [fpc-pascal] CPU affinity of TThread descendants

2009-01-20 Thread Vinzent Höfler
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

Re: [fpc-pascal] CPU affinity of TThread descendants

2009-01-20 Thread Marco van de Voort
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()

Re: [fpc-pascal] DCPCrypt as part of FCL?

2009-01-20 Thread Marco van de Voort
In our previous episode, Graeme Geldenhuys said: DCPCrypt information http://wiki.lazarus.freepascal.org/DCPcrypt. Couldn't DCPCrypt become part of FCL packages? I noticed there is already a Blowfish unit in FCL-Base directory. I think there are some hash implementations as well.

Re: [fpc-pascal] DCPCrypt as part of FCL?

2009-01-20 Thread Graeme Geldenhuys
On Tue, Jan 20, 2009 at 3:55 PM, Marco van de Voort mar...@stack.nl wrote: 1. Did you contact the author? Licensewise it is already ok I think (MIT/BSD license without advocacy clause), but it is the decent thing to do nonetheless. I have not, but I don't mind doing so. 2. Did you

Re: [fpc-pascal] DCPCrypt as part of FCL?

2009-01-20 Thread Graeme Geldenhuys
On Tue, Jan 20, 2009 at 4:50 PM, Tomas Hajny xhaj...@mbox.vol.cz wrote: 1) I assume you meant adding it as another package within the FPC tree, not to fcl-base in particular or so, right? I meant somewhere in the FPC tree. Where exactly is up to the FPC developers. But I would guess the FCL

Re: [fpc-pascal] DCPCrypt as part of FCL?

2009-01-20 Thread Marco van de Voort
In our previous episode, Graeme Geldenhuys said: [ Charset UTF-8 unsupported, converting... ] On Tue, Jan 20, 2009 at 3:55 PM, Marco van de Voort mar...@stack.nl wrote: 1. Did you contact the author? Licensewise it is already ok I think (MIT/BSD license without advocacy clause), but it is

Re: [fpc-pascal] CPU affinity of TThread descendants

2009-01-20 Thread David W Noon
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

Re: [fpc-pascal] Workaround for #0011837 (FPC = 2.2.2 with GTK = 2.13)

2009-01-20 Thread Giovanni Premuda
Vincent Snijders wrote: Yes, anybody can do that. Sorry? I don't get it. Giovanni ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal