about summary refs log tree commit diff
path: root/src/libstd/sys/hermit/thread.rs
AgeCommit message (Collapse)AuthorLines
2020-07-27mv std libs to library/mark-106/+0
2020-04-27use nicer code style to define DEFAULT_MIN_STACK_SIZEStefan Lankes-1/+1
2020-04-26use new interface to create threads on HermitCoreStefan Lankes-7/+6
- the new interface allows to define the stack size
2020-04-06Rollup merge of #70808 - hermitcore:tls, r=dtolnayMazdak Farrokhzad-0/+4
Simplify dtor registration for HermitCore by using a list of destructors The implementation is similar to the macOS version and doesn't depend on additional OS support
2020-04-06Rollup merge of #70553 - hermitcore:abi, r=dtolnayMazdak Farrokhzad-25/+2
move OS constants to platform crate to reduce platform specific constants move O_RDONLY etc. and the definition of thread priorities to hermit-abi
2020-04-05Simplify dtor registration for HermitCore by using a list of destructorsStefan Lankes-0/+4
The implementation is similiar to macOS solution doesn't depend on additional OS support
2020-04-05Stop importing integer modules in libstdLinus Färnstrand-1/+0
2020-04-04Merge branch 'master' into abiStefan Lankes-8/+9
2020-04-03Delete unnecessary stub stack overflow handler for hermit.Vytautas Astrauskas-4/+0
2020-04-02Remove unnecessary intermediate pointer cast in Thread::new.Vytautas Astrauskas-1/+1
2020-04-01In Thread::new, add a comment that a panic could cause a memory leak.Vytautas Astrauskas-1/+1
2020-03-31Use Box::into_raw instead of ManuallyDrop in Thread::new.Vytautas Astrauskas-4/+4
2020-03-31Inline start_thread into its callers.Vytautas Astrauskas-3/+6
2020-03-31Fix double-free and undefined behaviour in libstd::syn::unix::Thread::new.Vytautas Astrauskas-6/+8
2020-03-30move the definition of thread priorities to hermit-abiStefan Lankes-24/+1
2019-11-29Format libstd/sys with rustfmtDavid Tolnay-16/+26
This commit applies rustfmt with rust-lang/rust's default settings to files in src/libstd/sys *that are not involved in any currently open PR* to minimize merge conflicts. THe list of files involved in open PRs was determined by querying GitHub's GraphQL API with this script: https://gist.github.com/dtolnay/aa9c34993dc051a4f344d1b10e4487e8 With the list of files from the script in outstanding_files, the relevant commands were: $ find src/libstd/sys -name '*.rs' \ | xargs rustfmt --edition=2018 --unstable-features --skip-children $ rg libstd/sys outstanding_files | xargs git checkout -- Repeating this process several months apart should get us coverage of most of the rest of the files. To confirm no funny business: $ git checkout $THIS_COMMIT^ $ git show --pretty= --name-only $THIS_COMMIT \ | xargs rustfmt --edition=2018 --unstable-features --skip-children $ git diff $THIS_COMMIT # there should be no difference
2019-10-20move interface to the unikernel in the crate hermit-abiStefan Lankes-13/+6
=> simplifies the maintenance of the interface
2019-10-06minor changes to follow the Rust's style guidelinesStefan Lankes-2/+4
2019-10-06redesign of the interface to the unikernel HermitCoreStefan Lankes-0/+121
- the old interface between HermitCore and the Rust Standard Library based on a small C library (newlib) - remove this interface and call directly the unikernel - remove the dependency to the HermitCore linker - use rust-lld as linker