Items with no label
3335 Discussions

librealsense2 - is it thread safe ?

MBerg10
Beginner
1,511 Views

Hello. Can librealsense2 by used from multiple threads at the same time? For example can we call rs2_create_device from different threads simultaneously?

Are there special considerations to take into account when accessing librealsense2 from multiple threads?

regards,

Mats B

0 Kudos
1 Solution
MartyG
Honored Contributor III
551 Views

The link below may be of use to you. Please scroll down to the section headed 'Multi-Streaming Model', about halfway down the page.

https://github.com/IntelRealSense/librealsense/blob/master/doc/rs400_support.md librealsense/rs400_support.md at master · IntelRealSense/librealsense · GitHub

View solution in original post

0 Kudos
1 Reply
MartyG
Honored Contributor III
552 Views

The link below may be of use to you. Please scroll down to the section headed 'Multi-Streaming Model', about halfway down the page.

https://github.com/IntelRealSense/librealsense/blob/master/doc/rs400_support.md librealsense/rs400_support.md at master · IntelRealSense/librealsense · GitHub

0 Kudos
Reply