Disable Multithreading

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Disable Multithreading

Postby JoeJ » Mon Sep 30, 2013 5:49 pm

What was the #define for that?
I want to do debug visualization from joint lib code.
User avatar
JoeJ
 
Posts: 1489
Joined: Tue Dec 21, 2010 6:18 pm

Re: Disable Multithreading

Postby Julio Jerez » Mon Sep 30, 2013 6:20 pm

#ifndef __DG_THREAD_API_H__
#define __DG_THREAD_API_H__

// by default newton is run on a separate thread, optionally concurrent with the calling thread, it also uses a thread job pool for multi core systems.
// define DG_USE_THREAD_EMULATION on the command line for platform that do not support hardware multi threading or if multi threading is not stable
//#define DG_USE_THREAD_EMULATION
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests