Re: [Gambas-user] New feature in Task Class

2015-03-13 Thread Yahoo
maybe this can help but I'm not C developer. https://www.kernel.org/doc/Documentation/cgroups/cpusets.txt Cordialement, Olivier Cruilles Email: olivier.cruil...@yahoo.fr Le 13 mars 2015 à 10:24, Tobias Boege tabo...@gmail.com a écrit : On Fri, 13 Mar 2015, Beno?t Minisini wrote: Le

[Gambas-user] Google Code to be shut down

2015-03-13 Thread Kevin Fishburne
http://tech.slashdot.org/story/15/03/12/2055208/google-code-disables-new-project-creation-will-shut-down-on-january-25-2016 Perhaps I'm mistaken, but I seem to remember some aspect of GAMBAS using this. Apologies if I'm wrong about that. -- Kevin Fishburne Eight Virtues www:

Re: [Gambas-user] New feature in Task Class

2015-03-13 Thread Benoît Minisini
Le 13/03/2015 21:31, Olivier Cruilles a écrit : Benoit, Do you need more information ? All I had found on Internet turn around of cpuset and sched_getaffinity(). Olivier I will look at that later, I have a release to do. Regards, -- Benoît Minisini

Re: [Gambas-user] New feature in Task Class

2015-03-13 Thread Olivier Cruilles
Benoit, Do you need more information ? All I had found on Internet turn around of cpuset and sched_getaffinity(). Olivier Le Vendredi 13 mars 2015 13h08, Yahoo olivier.cruil...@yahoo.fr a écrit : maybe this can help but I'm not C developer.

Re: [Gambas-user] New feature in Task Class

2015-03-13 Thread Yahoo
No problem as soon you have time. Thank very much Olivier Cruilles Le 13 mars 2015 à 16:40, Benoît Minisini gam...@users.sourceforge.net a écrit : Le 13/03/2015 21:31, Olivier Cruilles a écrit : Benoit, Do you need more information ? All I had found on Internet turn around of cpuset

Re: [Gambas-user] Google Code to be shut down

2015-03-13 Thread Benoît Minisini
Le 13/03/2015 22:09, Kevin Fishburne a écrit : http://tech.slashdot.org/story/15/03/12/2055208/google-code-disables-new-project-creation-will-shut-down-on-january-25-2016 Perhaps I'm mistaken, but I seem to remember some aspect of GAMBAS using this. Apologies if I'm wrong about that. No,

Re: [Gambas-user] Possible bug with Text property of MaskBox

2015-03-13 Thread Benoît Minisini
Le 13/03/2015 14:40, Benoît Minisini a écrit : Le 13/03/2015 12:01, John Rose a écrit : On 10/03/15 17:21, John Rose wrote: I've found what I think is a bug on the Text property of the Maskbox control. When I set it with a Text property (conforming to its Mask property), it shows as blank at

Re: [Gambas-user] Possible bug with Text property of MaskBox

2015-03-13 Thread John Rose
On 10/03/15 17:21, John Rose wrote: I've found what I think is a bug on the Text property of the Maskbox control. When I set it with a Text property (conforming to its Mask property), it shows as blank at runtime. However, if I set it by code to the same value, it works OK. Test project

Re: [Gambas-user] Problem with Exist Open functions with filename containing spaces

2015-03-13 Thread John Rose
On 12/03/15 12:19, Benoît Minisini wrote: Le 12/03/2015 13:11, John Rose a écrit : On 12/03/15 11:38, Tobias Boege wrote: On Thu, 12 Mar 2015, John Rose wrote: On 12/03/15 10:37, Tobias Boege wrote: Public Sub Main() Dim sPath As String = Temp$(with spaces) Dim hFile As Stream Dim

Re: [Gambas-user] New feature in Task Class

2015-03-13 Thread Tobias Boege
On Fri, 13 Mar 2015, Beno?t Minisini wrote: Le 13/03/2015 14:07, Yahoo a ?crit : Hello Benoit, Do you think if it's possible to implement a way to limit a Task to use only a number of cpu and better will be to choose witch cpu a Task is allowed to use ? I know that is possible to

[Gambas-user] New feature in Task Class

2015-03-13 Thread Yahoo
Hello Benoit, Do you think if it's possible to implement a way to limit a Task to use only a number of cpu and better will be to choose witch cpu a Task is allowed to use ? I know that is possible to limit at the execution of a process the number and more exactly witch CPUs the process could

Re: [Gambas-user] New feature in Task Class

2015-03-13 Thread Benoît Minisini
Le 13/03/2015 14:07, Yahoo a écrit : Hello Benoit, Do you think if it's possible to implement a way to limit a Task to use only a number of cpu and better will be to choose witch cpu a Task is allowed to use ? I know that is possible to limit at the execution of a process the number and

Re: [Gambas-user] Possible bug with Text property of MaskBox

2015-03-13 Thread Benoît Minisini
Le 13/03/2015 12:01, John Rose a écrit : On 10/03/15 17:21, John Rose wrote: I've found what I think is a bug on the Text property of the Maskbox control. When I set it with a Text property (conforming to its Mask property), it shows as blank at runtime. However, if I set it by code to the

Re: [Gambas-user] New feature in Task Class

2015-03-13 Thread Yahoo
To limit a process to use only specific cpu core I use 'taskset ' command on linux and 'cpulimit' command to limit cpu usage. This one is interesting too: http://blog.scoutapp.com/articles/2014/11/04/restricting-process-cpu-usage-using-nice-cpulimit-and-cgroups Does it that you ask me ?

Re: [Gambas-user] New feature in Task Class

2015-03-13 Thread Benoît Minisini
Le 13/03/2015 15:07, Yahoo a écrit : May be this one ? http://man7.org/linux/man-pages/man2/getrlimit.2.html Cordialement, Olivier Cruilles Email: olivier.cruil...@yahoo.fr I don't see in the doc that you can limit the number of cpus. -- Benoît Minisini

Re: [Gambas-user] New feature in Task Class

2015-03-13 Thread Yahoo
May be this one ? http://man7.org/linux/man-pages/man2/getrlimit.2.html Cordialement, Olivier Cruilles Email: olivier.cruil...@yahoo.fr Le 13 mars 2015 à 09:41, Benoît Minisini gam...@users.sourceforge.net a écrit : Le 13/03/2015 14:07, Yahoo a écrit : Hello Benoit, Do you think if