<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Also, if I have multiple in Intel® Embree Ray Tracing Kernels</title>
    <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/rtcNewScene-rtcNewGeometry-thread-safety/m-p/1164215#M794</link>
    <description>&lt;P&gt;Also, if I have multiple&amp;nbsp;RTCScene&amp;nbsp;objects sharing a single&amp;nbsp;RTCDevice, is it safe to modify the scenes (eg rtcAttachGeometry, rtcSetNewGeometryBuffer, rtcCommitGeometry, rtcCommitScene, etc) concurrently from multiple threads? Or should I be using multiple&amp;nbsp;RTCDevice objects? Or a single&amp;nbsp;RTCDevice with&amp;nbsp;mutex locking?&lt;/P&gt;</description>
    <pubDate>Tue, 05 Mar 2019 15:02:00 GMT</pubDate>
    <dc:creator>Burr__Adam</dc:creator>
    <dc:date>2019-03-05T15:02:00Z</dc:date>
    <item>
      <title>rtcNewScene, rtcNewGeometry thread safety</title>
      <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/rtcNewScene-rtcNewGeometry-thread-safety/m-p/1164214#M793</link>
      <description>&lt;P&gt;Are the rtcNewScene and&amp;nbsp;rtcNewGeometry functions thread safe when called concurrently with a shared&amp;nbsp;RTCDevice? I&amp;nbsp;assume not but I don't want to put in redundant locking if it's&amp;nbsp;handled internally.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 14:54:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/rtcNewScene-rtcNewGeometry-thread-safety/m-p/1164214#M793</guid>
      <dc:creator>Burr__Adam</dc:creator>
      <dc:date>2019-03-05T14:54:10Z</dc:date>
    </item>
    <item>
      <title>Also, if I have multiple</title>
      <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/rtcNewScene-rtcNewGeometry-thread-safety/m-p/1164215#M794</link>
      <description>&lt;P&gt;Also, if I have multiple&amp;nbsp;RTCScene&amp;nbsp;objects sharing a single&amp;nbsp;RTCDevice, is it safe to modify the scenes (eg rtcAttachGeometry, rtcSetNewGeometryBuffer, rtcCommitGeometry, rtcCommitScene, etc) concurrently from multiple threads? Or should I be using multiple&amp;nbsp;RTCDevice objects? Or a single&amp;nbsp;RTCDevice with&amp;nbsp;mutex locking?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 15:02:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/rtcNewScene-rtcNewGeometry-thread-safety/m-p/1164215#M794</guid>
      <dc:creator>Burr__Adam</dc:creator>
      <dc:date>2019-03-05T15:02:00Z</dc:date>
    </item>
    <item>
      <title>All operations that take the</title>
      <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/rtcNewScene-rtcNewGeometry-thread-safety/m-p/1164216#M795</link>
      <description>&lt;P&gt;All operations that take the device are thread safe, e.g. you can create scenes for a single device from multiple scenes. Other objects are typically not thread safe, thus you cannot attach geometries from multiple threads to the same scene. However, for different objects that works. thus each thread can work on a different scene. Similar each thread can work on separate geometries, but not on the same.&lt;/P&gt;&lt;P&gt;An exception are functions that only read state and are intended for rendering. E.g. the rtcIntersectXX and rtcInterpolateXX functions can get&amp;nbsp;called from multiple threads (as long as no thread is modifying the underlying objects with some API calls).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 06:04:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/rtcNewScene-rtcNewGeometry-thread-safety/m-p/1164216#M795</guid>
      <dc:creator>SvenW_Intel</dc:creator>
      <dc:date>2019-03-07T06:04:50Z</dc:date>
    </item>
    <item>
      <title>In my case different threads</title>
      <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/rtcNewScene-rtcNewGeometry-thread-safety/m-p/1164217#M796</link>
      <description>&lt;P&gt;In my case different&amp;nbsp;threads will always be working with different scenes and geometry, the only thing shared between threads is the device.&amp;nbsp;I won't be modifying the same scene or geometry concurrently so it sounds like I will be safe. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 13:20:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/rtcNewScene-rtcNewGeometry-thread-safety/m-p/1164217#M796</guid>
      <dc:creator>Burr__Adam</dc:creator>
      <dc:date>2019-03-07T13:20:53Z</dc:date>
    </item>
  </channel>
</rss>

