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

Reply via email to