cancel
Showing results for 
Search instead for 
Did you mean: 

SDK Discussions

lubke
Journeyman III

Thread-safety in ProRender SDK

Jump to solution

Hello ProRender team,

can you please tell me in which way the ProRender SDK is thread-safe,

especially when creating/manipulating geometries (meshes), material nodes, and light sources.

The documentations says nothing about it.

Thanks in advance.

0 Likes
1 Solution

Accepted Solutions
bsavery
Staff
Staff

Re: Thread-safety in ProRender SDK

Jump to solution

Hey Axel.  None is really guaranteed to be thread safe.  In particular you will have issues if you render while getting framebuffers.

One thing you can do is a simple mutex around each RPR call.  For example in the CHECK() call here Context Creation — AMD Radeon ProRender 

View solution in original post

1 Reply
bsavery
Staff
Staff

Re: Thread-safety in ProRender SDK

Jump to solution

Hey Axel.  None is really guaranteed to be thread safe.  In particular you will have issues if you render while getting framebuffers.

One thing you can do is a simple mutex around each RPR call.  For example in the CHECK() call here Context Creation — AMD Radeon ProRender