diff options
author | Eric Lindblad <lindblad@gmx.us> | 2022-05-13 15:40:55 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-06-01 07:44:51 -0400 |
commit | 514a6a28db16793d6d2ca8fe7863e82943f56374 (patch) | |
tree | 5e35392d37250050e192d11790bdefa7011f8862 /rts/win32 | |
parent | ef7ddd7348070a9149d162217280c0a50f2b213d (diff) | |
download | haskell-514a6a28db16793d6d2ca8fe7863e82943f56374.tar.gz |
typos
Diffstat (limited to 'rts/win32')
-rw-r--r-- | rts/win32/AsyncWinIO.c | 2 | ||||
-rw-r--r-- | rts/win32/veh_excn.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/rts/win32/AsyncWinIO.c b/rts/win32/AsyncWinIO.c index fa397c343d..2c15dbad5a 100644 --- a/rts/win32/AsyncWinIO.c +++ b/rts/win32/AsyncWinIO.c @@ -373,7 +373,7 @@ void registerAlertableWait (bool has_timeout, DWORD mssec) } /* Exported callback function that will be called by the RTS to collect the - finished overlapped entried belonging to the completed I/O requests. The + finished overlapped entries belonging to the completed I/O requests. The number of read entries will be returned in NUM. NOTE: This function isn't thread safe, but is intended to be called only diff --git a/rts/win32/veh_excn.c b/rts/win32/veh_excn.c index 749f3720ce..ec992bb211 100644 --- a/rts/win32/veh_excn.c +++ b/rts/win32/veh_excn.c @@ -56,7 +56,7 @@ software exceptions Which means previously when we registered VEH handlers we would also trap software exceptions. Which means when haskell code was loaded in a C++ or C# context we would swallow exceptions and terminate in - contexes that normally the runtime should be able to continue on, e.g. you + contexts that normally the runtime should be able to continue on, e.g. you could be handling the segfault in your C++ code, or the div by 0. We could not handle these exceptions, but GHCi would just die a horrible death @@ -65,7 +65,7 @@ So instead, we'll move to Continue handler, to run as late as possible, and also register a filter which calls any existing filter, and then runs the continue handlers, we then also only run as the last continue handler so we - don't supercede any other VCH handlers. + don't supersede any other VCH handlers. Lastly we'll also provide a way for users to disable the exception handling entirely so even if the new approach doesn't solve the issue they can work |