Skip to content

Latest commit

 

History

History
67 lines (42 loc) · 2.04 KB

File metadata and controls

67 lines (42 loc) · 2.04 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

This project is currently in early pre-release, and there may be arbitrary breaking changes between pre-release versions.

[Unreleased]

[1.0.0-alpha.4]

Added

  • forte-rayon-compat crate, for running rayon on top of forte.
  • Worker::migrated() which is true when the current job has moved between threads.

Changed

  • Heartbeat frequency is now 100 microseconds.
  • Heartbeats are now more evenly distributed between workers.
  • The heartbeat thread goes to sleep when the pool is not in use.
  • Shared work is now queued and claimed in the order it was shared.
  • The Scope API is now identical to rayon-core and does not use Pin<T>.
  • Scope::new, Scope::add_reference and Scope::remove_reference are now private.

Security

  • Forte now implements exception safety. Panics can no longer cause UB.

[1.0.0-alpha.3]

Added

  • ThreadPool::claim_lease method.
  • shuttle test suite and feature flag (temporarily disabled).

Changed

  • Rename ThreadPool::as_worker to ThreadPool::with_worker.
  • Make Scope public.
  • Make Yield public.
  • Improved safety comments for scope.
  • Code format no longer requires nightly.

Removed

  • loom cfg flag and test suite.

Fixed

  • Fixed some broken examples and doc-tests.
  • Various broken links, spelling mistakes, and indentations.
  • Documentation for yield_now and yield_local.

[1.0.0-alpha.2]

This was the first usable build of forte, and is the start point for this change log. All subsequent changes are relative to this pre-release.

[1.0.0-alpha.1]

The initial release of this library was intended only to claim the name on crates.io. It was still early in development and did not employ a change-log.