Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-06-27 | misc clippy cleanup | Alan Somers | |
2020-06-27 | implement `Default` for `CpuSet`. | Alan Somers | |
2020-05-31 | Convert the crate to edition 2018 | Alan Somers | |
2019-11-21 | Implement sched::sched_getaffinity() | Thibaut Ackermann | |
sched_getaffinity(2) get a process's CPU affinity mask | |||
2019-07-13 | Fix warnings on Rust 1.37.0 | Alan Somers | |
* Replace obsolete range syntax "..." with inclusive range "..=" * Use dyn Trait syntax instead of Box<Trait> * Raise MSRV to 1.27.0 (for dyn Trait syntax) * Raise MSRV to 1.31.0 (because of rand) tempfile pulls in rand, and rand pulls in fuchsia-cprng, which requires 1.31.0. Why rand pulls in fuchsia-cprng I don't know. It's specified as a target-specific dependency, but Cargo tries to build it anyway (only on Linux, not on FreeBSD or OSX). A bug in Cargo 1.27.0? | |||
2019-07-01 | Enable sched_yield for all *nix hosts | Jakub Konka | |
2019-07-01 | Move cross compilation cfg for sched into sched mod | Jakub Konka | |
2019-06-09 | Add extra traits for all types | Bryant Mairs | |
Derive Clone, Copy, Eq, Hash, and PartialEq for all types. Not all traits are supported by all types, which is why many are missing some. | |||
2019-05-17 | Implement `sched_yield`. | Dan Gohman | |
This adds the `sched_yield` function, which is part of POSIX: http://pubs.opengroup.org/onlinepubs/9699919799/functions/sched_yield.html and widely implemented on Unix-family platforms. | |||
2018-01-28 | Require Debug impls for all types | Bryant Mairs | |
2018-01-28 | Deny unused qualifications | Bryant Mairs | |
2017-12-04 | Stop reexporting `Errno` and its variants | Jonas Schievink | |
cc #664 (unsure if this is everything needed) | |||
2017-08-26 | Use libc types for sched FFI | Bryant Mairs | |
2017-08-17 | Merge #725 | bors[bot] | |
725: Match syntax of libc_bitflags! with bitflags! r=asomers Also update a couple of constant declarations while we're at it. | |||
2017-08-16 | Match libc_bitflags! syntax to upstream bitflags! | Bryant Mairs | |
2017-08-11 | Get rid of a lot of transmutes | Jonas Schievink | |
Most could be replaced by simple raw pointer casts (or even perfectly safe coercions!). cc #373 | |||
2017-07-02 | Newtypes for uid_t, gid_t and pid_t. | Martin Habovštiak | |
2017-06-15 | Change sched_setaffinity's PID argument to pid_t | Julian Squires | |
The officially documented type, and the type in sched.h, for this argument is pid_t. | |||
2017-02-16 | Update bitflags to 0.7 | Simon Sapin | |
2016-12-11 | Ensure child stack passed to clone is 16 byte aligned. | Kevin DeJong | |
2016-11-03 | Add CLONE_NEWCGROUP | Dylan Reid | |
2016-08-29 | Replace parts of ffi module by libc functions in sched.rs | Philipp Matthias Schaefer | |
2016-04-21 | Allow to specify signal when calling clone. | Philipp Matthias Schaefer | |
2016-04-14 | Cast function item to function pointer in order to appease compiler. | Philipp Matthias Schaefer | |
This is necessary because of compiler changes. For further information look at rust-lang/rust#19925. | |||
2016-03-07 | Add support for MIPS targets | Gabriele Svelto | |
Closes #300 | |||
2016-01-28 | Convert CLONE_ flags to bitflags! type. | Philipp Matthias Schaefer | |
2016-01-28 | Move errno::Result back to crate root | arcnmx | |
2016-01-28 | Errno::result() | arcnmx | |
2016-01-18 | setns | arcnmx | |
2016-01-15 | add aarch64 support | Brian Martin | |
2015-12-22 | Fix build on Linux & Rust nightly | Carl Lerche | |
2015-08-22 | Fix signature of linux `clone` function | Paul Colomiets | |
In fact function returns pid of new process (or tid of new thread) | |||
2015-04-24 | sched: add support for arm linux using same cpuset_attribs as android | Paul Osborne | |
The limit of 32 cores may not actually be a limit with arm-linux, but I am not aware of anything in excess of 32 processors out there currently and this is what I have been running for awhile now on a beaglebone black (`--target=arm-unknown-linux-gnueabihf`). This change addresses #95 and relates to #97. | |||
2015-04-03 | 'derive(Copy)' needs Clone now | Florian Hartwig | |
2015-03-24 | NixResult -> nix::Result; NixError -> nix::Error | Carl Lerche | |
2015-03-16 | Fix deprecation warnings | Carl Lerche | |
2015-03-13 | Amend some files to make it compile on arm-linux-androideabi. | kennytm | |
2015-02-20 | Remove deprecated suffixes for isize | Sebastian Lauwers | |
2015-02-10 | Add `NixPath`, `NixError`, and `NixResult`. | Utkarsh Kukreti | |
2015-01-13 | changed uint and int to usize and isize respectively | Rick Richardson | |
2015-01-06 | Fix breakage caused by the removal of unboxed closures | Florian Hartwig | |
2015-01-04 | Fix a few remaining deprecation notices | Carl Lerche | |
2015-01-02 | Track rust master | Valerii Hiora | |
- Updated array syntax - task_rng -> thread_rng | |||
2014-12-10 | Fallout of Copy becoming opt-in. | Victor Berger | |
2014-12-10 | Fix improper_ctypes warnings. | Victor Berger | |
2014-10-27 | Add mmap, shm_open and other mman relatives | Phil Vachon | |
Add various wrappers to make interacting with Rust a bit more pleasant for memory management. Additionally, provide ftruncate(2), which is useful when working with shared memory. Allow managing CPU affinity of a Rust Task living in a system thread. | |||
2014-10-02 | Track Rust master | Carl Lerche | |
2014-08-25 | Tweaks + fix accept4 | Carl Lerche | |
2014-08-13 | Add open(), tweak mount functions | Carl Lerche | |
2014-08-07 | Initial commit | Carl Lerche | |