View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003331VTK(No Category)public2006-06-07 10:112008-06-03 14:47
ReporterSean McBride 
Assigned ToWill Schroeder 
PrioritylowSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0003331: Replace MPProcessors() to gain improved 64bit compatibility
DescriptionOn Mac OS X only some APIs are available to 64 bit applications, see:
<http://developer.apple.com/documentation/Darwin/Conceptual/64bitPorting/indications/chapter_2_section_2.html> [^]

Specifically, only the APIs in System.framework and Accelerate.framework are available. So no Carbon, Cocoa, OpenGL, etc.

vtkMultiThreader.cxx is including Carbon to call the function MPProcessors().

This API could be replaced by a different one for 64 bit compatibility.

One option is sysctl() with 'hw.ncpu'-- I think. I'm not 100% sure of the purpose of vtkMultiThreader::GetGlobalDefaultNumberOfThreads().
TagsNo tags attached.
Project
Type
Attached Files

 Relationships
has duplicate 0002932closedWill Schroeder vtkMultiThreader.cxx fails to compile on Mac OS/X 10.4.4, XCode 2.2 

  Notes
(0006266)
Sean McBride (developer)
2007-01-25 16:56

Fixed by me.

 Issue History
Date Modified Username Field Change
2007-08-10 08:56 David Cole Relationship added has duplicate 0002932
2008-06-03 14:47 Sean McBride Status @80@ => closed
2008-06-03 14:47 Sean McBride Resolution open => fixed
2011-06-16 13:11 Zack Galbreath Category => (No Category)


Copyright © 2000 - 2018 MantisBT Team