bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: canon-host errors


From: Jim Meyering
Subject: Re: canon-host errors
Date: Sun, 04 Sep 2005 18:02:36 +0200

Derek Price <address@hidden> wrote:
> Okay.  Will do.  Should I ignore single-threaded apps entirely, keep the
> error data in a global to simplify for single-threaded apps on NULL, or
> break the functions into canon_host, canon_host_r, strcherror, &
> strcherror_r?

I don't thinks it's worthwhile to pander to single-threaded
applications for something like this.

I'd prefer a new, thread-safe interface.
Maybe what we need is a new module, canon-host-r,
that contains most of the current canon-host.c.
Then canon-host.c could be rewritten as a wrapper
around canon_host_r.

But hey, if you're implementing it, your opinion counts
for a lot :)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]