<?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 Re: Intel SGX Pthreads in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Intel-SGX-Pthreads/m-p/1231751#M4136</link>
    <description>&lt;P&gt;Hello PYuhala,&lt;/P&gt;
&lt;P&gt;In addition to adding &lt;SPAN style="font-family: courier;"&gt;-lsgx_pthread&lt;/SPAN&gt; to your link statement in the Makefile, you must...&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;Copy &lt;/STRONG&gt;&lt;SPAN style="font-family: courier;"&gt;sgxsdk/include/sgx_pthread.edl&lt;/SPAN&gt; to your Enclave source directory.&lt;/LI&gt;
&lt;LI&gt;In &lt;I&gt;Enclave.edl, &lt;/I&gt;&lt;STRONG&gt;add: &lt;/STRONG&gt;&lt;SPAN style="font-family: courier;"&gt;from "sgx_pthread.edl" import *;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;In &lt;I&gt;Enclave.cpp&lt;/I&gt;, &lt;STRONG&gt;add: &lt;/STRONG&gt;&lt;SPAN style="font-family: courier;"&gt;#include&lt;/SPAN&gt;&lt;STRONG style="font-family: courier;"&gt; "&lt;/STRONG&gt;&lt;SPAN style="font-family: courier;"&gt;pthread.h"&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 23:37:29 GMT</pubDate>
    <dc:creator>JesusG_Intel</dc:creator>
    <dc:date>2020-11-25T23:37:29Z</dc:date>
    <item>
      <title>Intel SGX Pthreads</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Intel-SGX-Pthreads/m-p/1231185#M4125</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The latest Intel SGX developer Reference for Linux* OS (version 2.12) specifies (from page 137) APIs provided by the SGX pthread library. However there is not any example Sample code that uses or shows how to use these APIs in SGX applications. More specifically, what are the associated header files to import, EDL files etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried using the API (pthread_create(...) etc) after adding "-lsgx_pthread" in my link options, but this alone does not seem to be enough; the said routines are not found by my compiler.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 10:04:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Intel-SGX-Pthreads/m-p/1231185#M4125</guid>
      <dc:creator>PYuhala</dc:creator>
      <dc:date>2020-11-24T10:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Intel SGX Pthreads</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Intel-SGX-Pthreads/m-p/1231751#M4136</link>
      <description>&lt;P&gt;Hello PYuhala,&lt;/P&gt;
&lt;P&gt;In addition to adding &lt;SPAN style="font-family: courier;"&gt;-lsgx_pthread&lt;/SPAN&gt; to your link statement in the Makefile, you must...&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;Copy &lt;/STRONG&gt;&lt;SPAN style="font-family: courier;"&gt;sgxsdk/include/sgx_pthread.edl&lt;/SPAN&gt; to your Enclave source directory.&lt;/LI&gt;
&lt;LI&gt;In &lt;I&gt;Enclave.edl, &lt;/I&gt;&lt;STRONG&gt;add: &lt;/STRONG&gt;&lt;SPAN style="font-family: courier;"&gt;from "sgx_pthread.edl" import *;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;In &lt;I&gt;Enclave.cpp&lt;/I&gt;, &lt;STRONG&gt;add: &lt;/STRONG&gt;&lt;SPAN style="font-family: courier;"&gt;#include&lt;/SPAN&gt;&lt;STRONG style="font-family: courier;"&gt; "&lt;/STRONG&gt;&lt;SPAN style="font-family: courier;"&gt;pthread.h"&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 23:37:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Intel-SGX-Pthreads/m-p/1231751#M4136</guid>
      <dc:creator>JesusG_Intel</dc:creator>
      <dc:date>2020-11-25T23:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: Intel SGX Pthreads</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Intel-SGX-Pthreads/m-p/1232288#M4140</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your response. Will do as you have said.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Nov 2020 20:05:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Intel-SGX-Pthreads/m-p/1232288#M4140</guid>
      <dc:creator>PYuhala</dc:creator>
      <dc:date>2020-11-27T20:05:07Z</dc:date>
    </item>
    <item>
      <title>Re:Intel SGX Pthreads</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Intel-SGX-Pthreads/m-p/1232794#M4142</link>
      <description>&lt;P&gt;&lt;B&gt;This thread has been marked as answered and Intel will no longer monitor this thread. If you want a response from Intel in a follow-up question, please open a new thread.&lt;/B&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 30 Nov 2020 20:36:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Intel-SGX-Pthreads/m-p/1232794#M4142</guid>
      <dc:creator>JesusG_Intel</dc:creator>
      <dc:date>2020-11-30T20:36:54Z</dc:date>
    </item>
  </channel>
</rss>

