<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>
<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<h3>
David Eichmann pushed to branch wip/ghc-debug_pause_and_resume
at <a href="https://gitlab.haskell.org/ghc/ghc">Glasgow Haskell Compiler / GHC</a>
</h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/65e6b386c9e50c29a1ead7d8db2dc00195f6c6af">65e6b386</a></strong>
<div>
<span>by David Eichmann</span>
<i>at 2020-10-30T12:50:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">RtsAPI: pause and resume the RTS
The `rts_pause` and `rts_resume` functions have been added to `RtsAPI.h` and
allow an external process to completely pause and resume the RTS.
Co-authored-by: Sven Tennie <sven.tennie@gmail.com>
Co-authored-by: Matthew Pickering <matthewtpickering@gmail.com>
Co-authored-by: Ben Gamari <bgamari.foss@gmail.com>
</pre>
</li>
</ul>
<h4>30 changed files:</h4>
<ul>
<li class="file-stats">
<a href="#f7bfc5e15e7497f29b41f6df46865c151a07955d">
includes/RtsAPI.h
</a>
</li>
<li class="file-stats">
<a href="#070171e7e38216085c4ab5a6c13007583f941f22">
includes/rts/Threads.h
</a>
</li>
<li class="file-stats">
<a href="#33249795fee267712d5c3a7ecfa9f2edea260401">
rts/Capability.c
</a>
</li>
<li class="file-stats">
<a href="#52cbed6d5a31a2e77e689138af4477c2a62f413b">
rts/RtsAPI.c
</a>
</li>
<li class="file-stats">
<a href="#7d6961cb073b9fe3df3a81f0ad5cf36eed293c42">
rts/Schedule.c
</a>
</li>
<li class="file-stats">
<a href="#2dcc6eaccbc1470a4453e6040e4a5dcfd0ba0a14">
rts/Task.c
</a>
</li>
<li class="file-stats">
<a href="#c2040c137b600dfa675c61141d27d241f339d6b6">
rts/Task.h
</a>
</li>
<li class="file-stats">
<a href="#b4a38dad10ba126e05a0b6adc99aa0c2eb742875">
rts/sm/NonMoving.c
</a>
</li>
<li class="file-stats">
<a href="#69784e17736ae8dcdfec4112b586ad201f0f1762">
<span class="new-file">
+
testsuite/tests/rts/pause-resume/all.T
</span>
</a>
</li>
<li class="file-stats">
<a href="#0a385e95daef34508b38271725d31ac1164ae5b9">
<span class="new-file">
+
testsuite/tests/rts/pause-resume/pause_and_use_rts_api.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#79bfa2d7ada14bbbff78224293e859ea83dbdf42">
<span class="new-file">
+
testsuite/tests/rts/pause-resume/pause_and_use_rts_api.stdout
</span>
</a>
</li>
<li class="file-stats">
<a href="#12135700249ab8b9aed1a10cba232a28aa8a49db">
<span class="new-file">
+
testsuite/tests/rts/pause-resume/pause_resume.c
</span>
</a>
</li>
<li class="file-stats">
<a href="#66c3bc1dcfb71be23493eaff886b8ed4391cd5f4">
<span class="new-file">
+
testsuite/tests/rts/pause-resume/pause_resume.h
</span>
</a>
</li>
<li class="file-stats">
<a href="#3e7acead2af391cc8a18be5783ffba600180e308">
<span class="new-file">
+
testsuite/tests/rts/pause-resume/pause_resume_via_pthread.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#df29d9f6205eee8dfdd814a0b98851cadc3d84fe">
<span class="new-file">
+
testsuite/tests/rts/pause-resume/pause_resume_via_safe_ffi.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#d9a1b543fe91cfb9e5af824bddeec07a241b9339">
<span class="new-file">
+
testsuite/tests/rts/pause-resume/pause_resume_via_safe_ffi_concurrent.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#043d0c04ae0c485a40f8243726f0f252893b853e">
<span class="new-file">
+
testsuite/tests/rts/pause-resume/pause_resume_via_safe_ffi_concurrent.stdout
</span>
</a>
</li>
<li class="file-stats">
<a href="#29bbc3603b96c36a40e08c6a20620574633add27">
<span class="new-file">
+
testsuite/tests/rts/pause-resume/shouldfail/all.T
</span>
</a>
</li>
<li class="file-stats">
<a href="#ae215fc36f5488f505e70449f90d2333daea5156">
<span class="new-file">
+
testsuite/tests/rts/pause-resume/shouldfail/rts_double_pause.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#f365ffef532de3b61c7d68c3baa2a5136ff18b76">
<span class="new-file">
+
testsuite/tests/rts/pause-resume/shouldfail/rts_double_pause.stderr
</span>
</a>
</li>
<li class="file-stats">
<a href="#4ad974b8551112cc8749b0a7a0969d59c29d71f7">
<span class="new-file">
+
testsuite/tests/rts/pause-resume/shouldfail/rts_double_pause.stdout
</span>
</a>
</li>
<li class="file-stats">
<a href="#13d635091e15e7281fb8deb5c71df84bebb83f49">
<span class="new-file">
+
testsuite/tests/rts/pause-resume/shouldfail/rts_lock_when_paused.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#4e26a464d7f3f71b47ad209d82ca320a7cbd99bf">
<span class="new-file">
+
testsuite/tests/rts/pause-resume/shouldfail/rts_lock_when_paused.stderr
</span>
</a>
</li>
<li class="file-stats">
<a href="#744237fd3d6583047b4377285969b5b87b99b439">
<span class="new-file">
+
testsuite/tests/rts/pause-resume/shouldfail/rts_lock_when_paused.stdout
</span>
</a>
</li>
<li class="file-stats">
<a href="#c2db46823c2ca6e79be5ac6785bc26e79773e5e9">
<span class="new-file">
+
testsuite/tests/rts/pause-resume/shouldfail/rts_pause_lock.c
</span>
</a>
</li>
<li class="file-stats">
<a href="#639a0d27b2a01ea798ae073073bb56d629346b91">
<span class="new-file">
+
testsuite/tests/rts/pause-resume/shouldfail/rts_pause_lock.h
</span>
</a>
</li>
<li class="file-stats">
<a href="#26c81a53b1bc9e447979227e52c3a65f47144e21">
<span class="new-file">
+
testsuite/tests/rts/pause-resume/shouldfail/rts_pause_when_locked.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#e3449d1f6b5d9ad0118d5ffe5ef8f58d9a5480f8">
<span class="new-file">
+
testsuite/tests/rts/pause-resume/shouldfail/rts_pause_when_locked.stderr
</span>
</a>
</li>
<li class="file-stats">
<a href="#5ec9d7161d35a7d4246d68fe7006944f4e2846e6">
<span class="new-file">
+
testsuite/tests/rts/pause-resume/shouldfail/rts_pause_when_locked.stdout
</span>
</a>
</li>
<li class="file-stats">
<a href="#7a56bb09eacc7bc0a76a998046aff421e77bf45d">
<span class="new-file">
+
testsuite/tests/rts/pause-resume/shouldfail/unsafe_rts_pause.hs
</span>
</a>
</li>
</ul>
<h5>The diff was not included because it is too large.</h5>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777;">
—
<br>
<a href="https://gitlab.haskell.org/ghc/ghc/-/commit/65e6b386c9e50c29a1ead7d8db2dc00195f6c6af">View it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.haskell.org.
If you'd like to receive fewer emails, you can
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","url":"https://gitlab.haskell.org/ghc/ghc/-/commit/65e6b386c9e50c29a1ead7d8db2dc00195f6c6af"}}</script>
</p>
</div>
</body>
</html>