Please hurry up #61
Replies: 5 comments 4 replies
-
What is 'the SRW-based implementation'? We don't make use of
|
Beta Was this translation helpful? Give feedback.
-
I believe the above-linked implementation uses All your listed defects are probably true (I am not an expert like you), but my point is that a deployed implementation that has issues that you have listed is still infinitely better than what we currently have, which, in my experience, is just not usable at all. So I was hoping to encourage you to deploy something sooner rather than wait for something perfect. But seeing that you are doing the work and I am just cheer-leading, it is, of course, your decision to make. Again, thanks for working on this. |
Beta Was this translation helpful? Give feedback.
-
I've tried to bootstrap
Mine neither but somehow I always end up fixing Windows issues ;-). |
Beta Was this translation helpful? Give feedback.
-
I haven't investigated in detail but in summary it appears a TLS variable ends up with a wrong value which triggers an The variable in question is here: https://github.com/build2/build2/blob/master/libbuild2/algorithm.cxx#L205 I can provide instructions on how to reproduce this. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the pointers. I've studied the assembler output of |
Beta Was this translation helpful? Give feedback.
-
Hi,
First, thanks for working on this!
I would also like to urge you not to wait until it's perfect and potentially just releasing the SRW-based implementation without using internal/undocumented APIs even if it's sub-optimal (or even incomplete). The reason for this is that, in our experience, the only alternative (POSIX threads via
winpthreads
) is not just sub-optimal/heavy-weight/etc., but broken. There seem to be some rarely-occurring race conditions or similar issues. See here for details: https://github.com/build2-packaging/libmingw-stdthreadSo we desperately need a replacement.
Again thanks for your work!
Beta Was this translation helpful? Give feedback.
All reactions