[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: patch: use err, not errno
From: |
Thomas Bushnell, BSG |
Subject: |
Re: patch: use err, not errno |
Date: |
14 Mar 2002 19:44:45 -0800 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 |
Roland McGrath <roland@gnu.org> writes:
> > What's the reason for this?
>
> Getting at the thread-local errno tends to be rather a pain in gdb. And
> the overhead of locating the thread-local errno slot is pretty spurious in
> these cases when compared to a local variable that's just a register.
Ok, sounds good.
One thing to worry about is the way cancellations automatically
involve errno; other than that, I have no objection to the procedure.