Friday, February 9, 2024

Digest for comp.lang.c++@googlegroups.com - 2 updates in 1 topic

Bonita Montero <Bonita.Montero@gmail.com>: Feb 09 01:16PM +0100

Am 08.02.2024 um 22:28 schrieb Chris M. Thomasson:
 
> Keep in mind that your code disables those warnings. So, be sure to turn
> them back on for any and all user code!
 
Locking and unlocking mutexes is trivial and I don't need any addtional
aid for that. And MSVC runtime gives me a debug message if I try to
unlock a non-locked mutex; that's sufficient for me. And the shown
code is never trapped in that way.
"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>: Feb 09 11:43AM -0800

On 2/9/2024 4:16 AM, Bonita Montero wrote:
> aid for that. And MSVC runtime gives me a debug message if I try to
> unlock a non-locked mutex; that's sufficient for me. And the shown
> code is never trapped in that way.
 
I am saying that a user of your code might not want those warnings
disabled at all. So, you should turn them back on.
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to comp.lang.c+++unsubscribe@googlegroups.com.

No comments: