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 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 use to run but
>> not if it is possible to do that for a process Fork.
>> 
>> In my idea, I will limit the main process of my program on 1 specific
>> cpu and if I start Task to limit these Task to use specific others
>> CPUs.
>> 
>> 
>> Thank you in advance.
>> 
>> Olivier Cruilles
> 
> A task is a forked process, so if you know how to do that 
> programmatically (which API to use), just tell me.
> 
> Regards,
> 
> -- 
> Benoît Minisini
> 
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the 
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to