From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: best practice: error handling
Date: Sat, 11 Jun 2011 18:26:47 +0200
Date: 2011-06-11T18:26:47+02:00 [thread overview]
Message-ID: <1h0rtlguf55n9$.1bprjwe7kolfn.dlg@40tude.net> (raw)
In-Reply-To: op.vwwyi11bule2fv@douda-yannick
On Sat, 11 Jun 2011 15:31:39 +0200, Yannick Duchêne (Hibou57) wrote:
> I would say : at least the “errno” strategy, is not concurrency friendly.
But errno (and Windows' GetLastError) is not a return code. The return code
is a local object which effect is always limited to the current task, as
well as the exception (when it starts propagating). errno is a global scope
function / object, syntactically unrelated to the original call. errno is
bad even without any concurrency.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
prev parent reply other threads:[~2011-06-11 16:26 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-31 14:01 best practice: error handling milouz
2011-05-31 17:13 ` Vinzent Hoefler
2011-05-31 17:57 ` AdaMagica
2011-06-11 13:38 ` Yannick Duchêne (Hibou57)
2011-05-31 18:08 ` Jeffrey Carter
2011-05-31 20:02 ` Dmitry A. Kazakov
2011-05-31 20:35 ` Jeffrey Carter
2011-05-31 21:40 ` Dmitry A. Kazakov
2011-06-11 13:57 ` Yannick Duchêne (Hibou57)
2011-06-11 14:07 ` Dmitry A. Kazakov
2011-06-12 5:19 ` Randy Brukardt
2011-06-11 13:48 ` Yannick Duchêne (Hibou57)
2011-06-11 13:31 ` Yannick Duchêne (Hibou57)
2011-06-11 16:12 ` Simon Wright
2011-06-11 16:26 ` Dmitry A. Kazakov [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox