Re: Issues with boost executor_work_guard

Vinnie Falco via Boost-users <[email protected]> Mon, 7 Apr 2025 07:51:02 -0700
Newsgroups gmane.comp.lib.boost.user
Message-ID <CA+EzHGcCc+nMtnBnys=7TPaZwKYZDkYt-TkpwNpZ_6QAkTUv=A@mail.gmail.com>
--===============5468970020571507830==
Content-Type: multipart/alternative; boundary="00000000000080278b0632316048"

--00000000000080278b0632316048
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Mon, Apr 7, 2025 at 7:07=E2=80=AFAM Jo=C3=A3o Fernando Silva via Boost-u=
sers <
[email protected]> wrote:

> ...despite the work_guard still being valid, we see that the threads exit
> because boost::asio::detail::scheduler::outstanding_work reaches 0.
>

If you could create a small, self-contained program which demonstrates this
behavior it would be very helpful for diagnosing the problem.

Thanks

--00000000000080278b0632316048
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon=
t-family:arial,sans-serif"><span style=3D"font-family:Arial,Helvetica,sans-=
serif">On Mon, Apr 7, 2025 at 7:07=E2=80=AFAM Jo=C3=A3o Fernando Silva via =
Boost-users &lt;<a href=3D"mailto:[email protected]">boost-users@=
lists.boost.org</a>&gt; wrote:</span></div></div><div class=3D"gmail_quote =
gmail_quote_container"><blockquote class=3D"gmail_quote" style=3D"margin:0p=
x 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><d=
iv class=3D"msg-2992333426574709036">




<div dir=3D"ltr">
<div dir=3D"ltr" id=3D"m_-2992333426574709036divRplyFwdMsg"></div>
<div style=3D"direction:ltr;font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFo=
ntService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><sp=
an style=3D"font-size:12pt"><span class=3D"gmail_default" style=3D"font-fam=
ily:arial,sans-serif">...</span>despite the work_guard still being valid, w=
e see that the threads exit because boost::asio::detail::</span><span style=
=3D"font-size:12pt">scheduler::outstanding_work reaches 0.<br></span></div>=
</div></div></blockquote><div class=3D"gmail_default" style=3D"font-family:=
arial,sans-serif"><br>If you could create a small, self-contained program w=
hich demonstrates this behavior it would be very helpful for diagnosing the=
 problem.<br><br>Thanks<br><br></div></div></div>

--00000000000080278b0632316048--

--===============5468970020571507830==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Boost-users mailing list
[email protected]
https://lists.boost.org/mailman/listinfo.cgi/boost-users

--===============5468970020571507830==--