Mitchell Rosen
38ffd43749
version bump
2024-07-15 11:55:46 -04:00
Mitchell Rosen
10441796f2
fix bug #33
2024-07-15 11:51:10 -04:00
Mitchell Rosen
ea61f6611d
add regression test for #33
2024-07-15 11:49:26 -04:00
Mitchell Rosen
48f351f8cd
bump ki-unlifted base upper bound
2024-06-26 10:31:32 -04:00
Mitchell Rosen
871085c76a
bump ki revision
2024-05-15 21:07:50 -04:00
Mitchell Rosen
ef6e84aa46
bump base upper bound
2024-05-15 21:04:15 -04:00
Mitchell Rosen
cebd275eb6
more refactoring, cleanup
2023-11-28 01:01:45 -05:00
Mitchell Rosen
f5e9a45fa8
refactoring, cleanup
2023-11-27 22:33:30 -05:00
Mitchell Rosen
59312dc5c1
move forkWithAffinity
2023-11-27 22:02:29 -05:00
Mitchell Rosen
bb0115de23
move ThreadOptions into its own module
2023-11-27 22:00:09 -05:00
Mitchell Rosen
0b1be3d964
tiny cleanup
2023-11-27 21:50:58 -05:00
Mitchell Rosen
61026817e6
rename ThreadFailed to Propagating and move it to its own module
2023-11-27 21:47:18 -05:00
Mitchell Rosen
cc554dd7dc
move ThreadAffinity into its own module
2023-11-27 21:33:23 -05:00
Mitchell Rosen
30d26f47ac
add NonblockingSTM type
2023-11-27 21:25:44 -05:00
Mitchell Rosen
a5da3ba990
depend on int-supply
2023-11-27 20:54:40 -05:00
Mitchell Rosen
5e385984bd
less indentation in test suite
2023-11-27 20:44:56 -05:00
Mitchell Rosen
f551a466e6
move readme and changelog from extra-source-files to extra-doc-files
2023-11-27 20:38:07 -05:00
Mitchell Rosen
90210c9d33
format with new ormolu
2023-11-27 20:37:19 -05:00
Mitchell Rosen
0b1c21f495
Update CI badge in readme
2023-10-10 19:16:12 -04:00
Mitchell Rosen
40cae23dc4
support ghc-9.8.1
2023-10-10 19:15:53 -04:00
Mitchell Rosen
bf5f54664d
bump a couple upper bounds
2023-10-06 17:40:13 -04:00
Mitchell Rosen
c3edf709f7
Merge pull request #29 from awkward-squad/prepare-ver-1.0.1.0
...
bump ki ver to 1.0.1.0
2023-04-03 23:20:39 -04:00
Mitchell Rosen
9d6c6b83e3
bump ki ver to 1.0.1.0
2023-04-03 22:45:26 -04:00
Mitchell Rosen
ea2d826771
Merge pull request #28 from awkward-squad/happy-eyeballs-example
...
revive happy eyeballs; move it to readme
2023-04-03 22:41:44 -04:00
Mitchell Rosen
af54fe4cf0
revive happy eyeballs; move it to readme
2023-04-03 22:35:09 -04:00
Mitchell Rosen
d46375d124
misc. refactoring
2023-03-27 00:44:45 -04:00
Mitchell Rosen
922f65bf16
Merge pull request #27 from awkward-squad/await-all-fix
...
make `awaitAll` return () if scope is closed, rather than block forever
2023-03-23 13:20:59 -04:00
Mitchell Rosen
0323e71388
make awaitAll
return () if scope is closed, rather than block forever
2023-03-23 09:36:19 -04:00
Mitchell Rosen
2441ab5b37
Merge pull request #25 from awkward-squad/fork-in-closing-scope-fix
...
Fix #23 : throw ScopeClosing if trying to fork in a closed scope
2023-03-22 14:31:45 -04:00
Mitchell Rosen
e2a89479e8
use pattern synonyms to make scope status more readable
2023-03-22 14:21:52 -04:00
Mitchell Rosen
d9bf720455
throw ScopeClosing if trying to fork in a closed scope
2023-03-21 14:20:34 -04:00
Mitchell Rosen
170060c4c0
minor refactoring
2023-03-19 22:09:35 -04:00
Mitchell Rosen
d01ca4ba32
delete Ki.Internal.Prelude; just use Prelude and import stuff
2023-03-19 21:55:41 -04:00
Mitchell Rosen
d00926f67e
move some utils around
2023-03-19 21:48:53 -04:00
Mitchell Rosen
81a1677b47
use strict Maybe to store thread result
2023-03-19 21:28:04 -04:00
Mitchell Rosen
7c931cbb32
add Tid type alias for readability
2023-03-19 21:26:29 -04:00
Mitchell Rosen
1f6d0cccc0
move forkWithAffinity from Ki.Internal.Scope to Ki.Internal.Thread
2023-03-19 21:25:53 -04:00
Mitchell Rosen
7ac2552899
add subdir field to source-repository stanzas
2023-03-14 23:10:27 -04:00
Mitchell Rosen
fd24ed2f51
add x-revision=1 to cabal files and publish
2023-03-13 14:11:05 -04:00
Mitchell Rosen
d50ea67e35
Merge pull request #22 from TristanCacqueray/ghc-9.6.1
...
support GHC 9.6.1
2023-03-13 14:08:14 -04:00
Tristan Cacqueray
47bd722c08
support GHC 9.6.1
2023-03-12 16:48:43 +00:00
Mitchell Rosen
f439a7dda9
bump version of ghc we run in CI
2023-01-25 14:01:25 -05:00
Mitchell Rosen
efbccde4bb
Merge pull request #20 from awkward-squad/fix-19
...
fix issue #19 : deadlock
2023-01-25 13:58:45 -05:00
Mitchell Rosen
e172333f58
fix issue #19 : deadlock
...
a deadlock could occur if a child, after beginning to tear down via a
`ScopeClosing` exception delivered from its parent, ultimately wants to
die with a different exception (e.g. a synchronous exception thrown
during a registered cleanup action).
this PR makes a child thread that has an exception to propagate to its
parent first check to see if its parent's scope is closed, and if it is,
elects to communicate the exception via `childExceptionVar` rather than
use `throwTo`
2023-01-25 11:43:36 -05:00
Mitchell Rosen
0d3b2900b5
move badges
2022-11-06 10:03:47 +05:30
Mitchell Rosen
4104114f72
bump versions to 1.0.0.1
2022-08-14 17:58:18 -04:00
Mitchell Rosen
0ecb758fc4
Merge pull request #13 from awkward-squad/ghc-9.4.1
...
GHC 9.4.1
2022-08-14 17:56:34 -04:00
Mitchell Rosen
48d9b46ab2
use haskell-ci to generate .github/workflows/haskell-ci.yaml
2022-08-14 17:49:50 -04:00
Mitchell Rosen
104384fce0
support GHC 9.4.1
2022-08-14 17:45:16 -04:00
Mitchell Rosen
e7f692630e
Merge pull request #10 from TristanCacqueray/doc-fix
...
doc fix for defaultThreadOptions
2022-08-14 11:32:25 -04:00