https://bugs.kde.org/show_bug.cgi?id=451327
--- Comment #8 from Godmar Back ---
(In reply to Godmar Back from comment #7)
> It's more reliable if you `NTHREADS` and `n`
if you *increase*
--
You are receiving this mail because:
You are watching all bug changes.
https://bugs.kde.org/show_bug.cgi?id=451327
--- Comment #7 from Godmar Back ---
It's more reliable if you `NTHREADS` and `n`
--
You are receiving this mail because:
You are watching all bug changes.
https://bugs.kde.org/show_bug.cgi?id=451327
--- Comment #6 from Paul Floyd ---
OK, I've reopened this.
The error is intermittent for me so I assume that there is some race.
--
You are receiving this mail because:
You are watching all bug changes.
https://bugs.kde.org/show_bug.cgi?id=451327
Paul Floyd changed:
What|Removed |Added
Ever confirmed|0 |1
Resolution|NOT A BUG
https://bugs.kde.org/show_bug.cgi?id=451327
--- Comment #5 from Godmar Back ---
Created attachment 148434
--> https://bugs.kde.org/attachment.cgi?id=148434=edit
test program that shows spurious warning even when threads are joined
I've attached a larger example from the actual code to show
https://bugs.kde.org/show_bug.cgi?id=451327
--- Comment #4 from Godmar Back ---
The actual application in which the false positive occurs uses pthread_join
properly. I created a minimum reproducible test case here for you to see the
issue. Adding pthread_join introduces additional edges in the
https://bugs.kde.org/show_bug.cgi?id=451327
Paul Floyd changed:
What|Removed |Added
Resolution|--- |NOT A BUG
Status|REPORTED
https://bugs.kde.org/show_bug.cgi?id=451327
--- Comment #2 from Paul Floyd ---
Answering my own question. On Linux, if I add pthread_join:
static void
use_stack_allocated_semaphore(void)
{
sem_t sem;
sem_init(, 0, 0);
pthread_t t;
pthread_create(, NULL, post_thread, );
https://bugs.kde.org/show_bug.cgi?id=451327
Paul Floyd changed:
What|Removed |Added
CC||pjfl...@wanadoo.fr
--- Comment #1 from Paul Floyd
https://bugs.kde.org/show_bug.cgi?id=451327
Godmar Back changed:
What|Removed |Added
CC||god...@gmail.com
--
You are receiving this mail
10 matches
Mail list logo