Re: gthread: how many cores do I have?

2010-04-04 Thread Pavel Machek
On Sat 2010-04-03 01:20:37, Tor Lillqvist wrote: It is traditional term, and it is ambiguous these days. CoreDuo is Intel *processor*. So what? Intel might call it a processor today, a flux capacitor tomorrow. It isn't like they would be known to choose one name for The fact that biggest

FYI: New project. libctrans

2010-04-04 Thread ENRIQUE ARIZON BENITO
Hi, I'm starting a new project in Google code called libctrans. libctrans is in charge of creating infraestructure for transaction oriented programming in C (the nomenclature is invented), easifying error control. You can find more info about it reading the documentation:

Re: FYI: New project. libctrans

2010-04-04 Thread Behdad Esfahbod
On 04/04/2010 11:22 AM, ENRIQUE ARIZON BENITO wrote: I think people in charge of glib development could be interested in integrating it with glib since I have found no equivalent. Maybe you can explain in a paragraph what problem you are trying to address? behdad Regards, Enrique

Re: gthread: how many cores do I have?

2010-04-04 Thread Pavel Machek
Hi! And then the valid question is... should the api also count virtual cpus from hyperthreading (aka smt?)? BOTH should be available. If we're spinning up threads to perform some processing, then we need to count those virtual cores. But if we're starting a child program to perform

Re: gthread: how many cores do I have?

2010-04-04 Thread Mark Mielke
On 04/04/2010 03:34 PM, Pavel Machek wrote: And then the valid question is... should the api also count virtual cpus from hyperthreading (aka smt?)? BOTH should be available. If we're spinning up threads to perform some processing, then we need to count those virtual cores. But if

Re: gthread: how many cores do I have?

2010-04-04 Thread Paul Davis
On Sun, Apr 4, 2010 at 5:35 PM, Mark Mielke m...@mark.mielke.cc wrote: Optimally - both counts should be available. How many tasks can I run simultaneously at near 100% CPU vs how many tasks can I run simultaneously at any % of the CPU. A task doing video encoding or anything that would