Manta Interactive Ray Tracer Development Mailing List

Text archives Help


Re: [Manta] r2020 - trunk/Core/Thread


Chronological Thread 
  • From: Ryan Vance <ryan.vance@utah.edu>
  • To: Solomon Boulos <boulos@cs.utah.edu>
  • Cc: MANTA <manta@sci.utah.edu>
  • Subject: Re: [Manta] r2020 - trunk/Core/Thread
  • Date: Tue, 29 Jan 2008 14:56:38 -0700

Yeah, I observed this on my 32 bit linux machine.

Solomon Boulos wrote:
Is it broken for any 32-bit x86 systems? If not, we should add another check for 32-bit vs 64-bit and at least let this be used for 32-bit builds.

On Jan 29, 2008, at 1:30 PM, thiago@sci.utah.edu wrote:

Author: thiago
Date: Tue Jan 29 14:29:59 2008
New Revision: 2020

Modified:
  trunk/Core/Thread/Thread_pthreads.cc
Log:
using default atomic counter instead of buggy _x86 counter.

Modified: trunk/Core/Thread/Thread_pthreads.cc
==============================================================================
--- trunk/Core/Thread/Thread_pthreads.cc    (original)
+++ trunk/Core/Thread/Thread_pthreads.cc    Tue Jan 29 14:29:59 2008
@@ -162,7 +162,9 @@
#include <Core/Thread/Barrier_default.cc>

#ifdef MANTA_X86
-#include <Core/Thread/AtomicCounter_x86.cc>
+#include <Core/Thread/AtomicCounter_default.cc>
+//AtomicCounter_x86 is currently broken.
+//#include <Core/Thread/AtomicCounter_x86.cc>
#else
#include <Core/Thread/AtomicCounter_default.cc>
#endif





Archive powered by MHonArc 2.6.16.

Top of page