Skip to content

Potential race conditions in rendering engines #693

@howetuft

Description

@howetuft

There is a bunch of variables that are accessed in a multi-threaded context (rendering) without any protection against race conditions.
For instance:
RTPathOCLRenderEngine::frameTime
RTPathOCLRenderEngine::useFastCamerEditPath
RTPathOCLRenderEngine::syncType
RenderEngine::started
RenderEngine::editMode
RenderEngine::pauseMode
Etc.
Minimal protection, like atomics, should be applied to avoid subtle random errors.

A good approach may be to search for such variables in *thread.cpp files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions