Skip to content

Commit

Permalink
Bump StableTasks.jl dep to forward @fetch and @fetchfrom macros (#52
Browse files Browse the repository at this point in the history
)

* bump StableTasks dep and forward  and  macros

* changelog

* retrigger ci

* retrigger ci
  • Loading branch information
carstenbauer authored Feb 21, 2024
1 parent a0cc9ce commit 6e2e194
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
OhMyThreads.jl Changelog
=========================

Version 0.4.3
-------------

- ![Feature][badge-feature] Forward (but don't export) the macros `@fetch` and `@fetchfrom` from StableTasks.jl (v0.1.5), which are analogous to the same-named macros in Distributed.jl.

Version 0.4.2
-------------

Expand Down
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "OhMyThreads"
uuid = "67456a42-1dca-4109-a031-0a68de7e3ad5"
authors = ["Mason Protter <[email protected]>"]
version = "0.4.2"
version = "0.4.3"

[deps]
BangBang = "198e06fe-97b7-11e9-32a5-e1d131e6ad66"
Expand All @@ -12,7 +12,7 @@ TaskLocalValues = "ed4db957-447d-4319-bfb6-7fa9ae7ecf34"
[compat]
BangBang = "0.4"
ChunkSplitters = "2.1"
StableTasks = "0.1.4"
StableTasks = "0.1.5"
TaskLocalValues = "0.1"
julia = "1.6"

Expand Down
2 changes: 2 additions & 0 deletions docs/src/refs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,7 @@ GreedyScheduler
|------------------------|---------------------------------------------------------------------|
| `OhMyThreads.@spawn` | see [StableTasks.jl](https://github.com/JuliaFolds2/StableTasks.jl) |
| `OhMyThreads.@spawnat` | see [StableTasks.jl](https://github.com/JuliaFolds2/StableTasks.jl) |
| `OhMyThreads.@fetch` | see [StableTasks.jl](https://github.com/JuliaFolds2/StableTasks.jl) |
| `OhMyThreads.@fetchfrom` | see [StableTasks.jl](https://github.com/JuliaFolds2/StableTasks.jl) |
| `OhMyThreads.chunks` | see [ChunkSplitters.jl](https://juliafolds2.github.io/ChunkSplitters.jl/dev/references/#ChunkSplitters.chunks) |
| `OhMyThreads.TaskLocalValue` | see [TaskLocalValues.jl](https://github.com/vchuravy/TaskLocalValues.jl) |
2 changes: 1 addition & 1 deletion src/OhMyThreads.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module OhMyThreads

using StableTasks: StableTasks, @spawn, @spawnat
using StableTasks: StableTasks, @spawn, @spawnat, @fetch, @fetchfrom
using ChunkSplitters: ChunkSplitters, chunks
using TaskLocalValues: TaskLocalValues, TaskLocalValue

Expand Down

2 comments on commit 6e2e194

@carstenbauer
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/101325

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.4.3 -m "<description of version>" 6e2e194ef87cd9c42f866078ebd514d342988a95
git push origin v0.4.3

Please sign in to comment.