CException not setup for multithreading #13

Open
opened 2020-11-06 19:22:39 -05:00 by twistdroach · 0 comments
twistdroach commented 2020-11-06 19:22:39 -05:00 (Migrated from github.com)

CException is not initialized correctly for multithreading...

From CException.h:

#ifndef CEXCEPTION_NUM_ID
#define CEXCEPTION_NUM_ID    (1) //there is only the one stack by default
#endif

//This is the method of getting the current exception stack index (0 if only one stack)
#ifndef CEXCEPTION_GET_ID
#define CEXCEPTION_GET_ID    (0) //use the first index always because there is only one anyway
#endif
CException is not initialized correctly for multithreading... From CException.h: ```/This is number of exception stacks to keep track of (one per task) #ifndef CEXCEPTION_NUM_ID #define CEXCEPTION_NUM_ID (1) //there is only the one stack by default #endif //This is the method of getting the current exception stack index (0 if only one stack) #ifndef CEXCEPTION_GET_ID #define CEXCEPTION_GET_ID (0) //use the first index always because there is only one anyway #endif ```
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: moldybits/raytracer-c#13
No description provided.