commit | a9c0252b2e8ff7bb728b84d977ac6e9581ea12f8 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Oct 16 16:11:56 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Oct 16 17:03:16 2018 +0200 |
tree | 8173c034e8e025d05fa18764084e0e53db4e2896 | |
parent | e18db9e984e69e3802868bac10ce0703ce31e7d0 [diff] |
BUG/MEDIUM: threads: fix thread_release() at the end of the rendez-vous point There is a bug in this function used to release other threads. It leaves the current thread marked as harmless. If after this another thread does a thread_isolate(), but before the first one reaches poll(), the second thread will believe it's alone while it's not. This must be backported to 1.8 since the rendez-vous point was merged into 1.8.14.