You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@teaclave.apache.org by volcano <no...@github.com> on 2020/04/02 07:09:31 UTC

[apache/incubator-teaclave-sgx-sdk] Modify the error return of the sgx_tstd::sys::thread::new (#214)

sgx_libc::pthread_create returns an EAGAIN error, indicating that no TCS is available, so using SGX_ERROR_OUT_OF_TCS instead of EAGAIN returns io:::Error
You can view, comment on, or merge this pull request online at:

  https://github.com/apache/incubator-teaclave-sgx-sdk/pull/214

-- Commit Summary --

  * Modify the error return of the sys::thread::new

-- File Changes --

    M sgx_tstd/src/io/error.rs (14)
    M sgx_tstd/src/sys/thread.rs (7)

-- Patch Links --

https://github.com/apache/incubator-teaclave-sgx-sdk/pull/214.patch
https://github.com/apache/incubator-teaclave-sgx-sdk/pull/214.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave-sgx-sdk/pull/214

Re: [apache/incubator-teaclave-sgx-sdk] Modify the error return of the sgx_tstd::sys::thread::new (#214)

Posted by Yu Ding <no...@github.com>.
Merged #214 into master.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave-sgx-sdk/pull/214#event-3190956850