To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 10731
10730  |  10732
Subject: 
Re: Any LDView users with quad-core machine?
Newsgroups: 
lugnet.cad.dev
Date: 
Wed, 12 Mar 2008 21:25:15 GMT
Viewed: 
11788 times
  
In lugnet.cad.dev, Kevin L. Clague wrote:
  Qt 4 provides threads.  It can tell you how many ideal threads there are
(presumably the number of hardware strands).

I actually saw the "ideal num threads" call in the QT 4 documentation when I was
trying to figure out how to get the number of CPUs on a Linux box.  However,
even though the sysconf calls are in a QT-only section of LDView's code, I can't
use the call, since LDView uses QT 3.3.  (Once LDView switches to QT 4, maybe
I'll revisit, and even now I could add a check to see if LDView is being
compiled with QT 4, which is possible.)  I can't use the QT threads, though,
because all of LDView's threads are in its toolkit-agnostic code.  So I use
Boost threads instead, which I've been very happy with.

--Travis



Message is in Reply To:
  Re: Any LDView users with quad-core machine?
 
(...) Hi Travis, Qt 4 provides threads. It can tell you how many ideal threads there are (presumably the number of hardware strands). Yes, the instruction set is SPARC, with 64 bit integer registers (31 of those), plus the usual 32, 64, 128 bit (...) (17 years ago, 12-Mar-08, to lugnet.cad.dev)

7 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR