[Swan-dev] pexpect() and passert() from a thread

Andrew Cagney andrew.cagney at gmail.com
Tue Sep 1 14:58:12 UTC 2020


On Tue, 1 Sep 2020 at 10:39, Paul Wouters <paul at nohats.ca> wrote:
>
> On Mon, 31 Aug 2020, Andrew Cagney wrote:
>
> > I think I'll start by renaming the existing passert()/pexpect() to
> > PASSERT()/PEXPECT().
>
> That screams a lot...

Perhaps that will discourage its use :-) passert_global() was another idea.

We need two things:
- have the most convenient (and least screamy) macro take the log
context (so that can be included when exploding)
- a less pleasant macro (so its use is discouraged :-) for cases where
there is no context


> Can we not just create passert_helper() or something ?
>
> Paul


More information about the Swan-dev mailing list