[Issue 17957] D shared library throws asserts when called from C detached pthread but not terminated with dlclose

2022-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17957 Iain Buclaw changed: What|Removed |Added Priority|P1 |P3 --

[Issue 17957] D shared library throws asserts when called from C detached pthread but not terminated with dlclose

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17957 Stanislav Blinov changed: What|Removed |Added CC||stanislav.bli...@gmail.com --- Comment

[Issue 17957] D shared library throws asserts when called from C detached pthread but not terminated with dlclose

2017-11-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17957 --- Comment #3 from Nicolas F. --- fwiw, you can get rid of the naughty pthread_join call which would result in undefined behaviour for detached threads by replacing it with a simple sleep(3), which will result in the same

[Issue 17957] D shared library throws asserts when called from C detached pthread but not terminated with dlclose

2017-11-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17957 --- Comment #2 from Nicolas F. --- (In reply to ponce from comment #1) > A major problem I see is that you use pthread_detach which you are not > supposed to. > > People are talking about "attachment" in the context of the D

[Issue 17957] D shared library throws asserts when called from C detached pthread but not terminated with dlclose

2017-11-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17957 ponce changed: What|Removed |Added CC||alil...@gmail.com --- Comment #1