Codebase list nsync / 2fe2e80
Update upstream source from tag 'upstream/1.25.0' Update to upstream version '1.25.0' with Debian dir 6baa62f80e3c4c9faa7613b40eeb79a50336dd40 Mo Zhou 1 year, 10 months ago
3 changed file(s) with 9 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
0 1.24.0
0 1.25.0
143143 static THREAD_LOCAL waiter *waiter_for_thread;
144144 static void waiter_destroy (void *v) {
145145 waiter *w = (waiter *) v;
146 /* Reset waiter_for_thread in case another thread-local variable reuses
147 the waiter in its destructor while the waiter is taken by the other
148 thread from free_waiters. This can happen as the destruction order
149 of thread-local variables can be arbitrary in some platform e.g.
150 POSIX. */
151 waiter_for_thread = NULL;
146152 IGNORE_RACES_START ();
147153 ASSERT ((w->flags & (WAITER_RESERVED|WAITER_IN_USE)) == WAITER_RESERVED);
148154 w->flags &= ~WAITER_RESERVED;
7575 detected_arch=x86_32X
7676 #elif defined(__alpha__)
7777 detected_arch=alphaX
78 #elif defined(__loongarch__)
79 detected_arch=loongarchX
7880 #elif defined(__mips64__) || defined(__mips32__) || defined(__mips__)
7981 detected_arch=mipsX
8082 #elif defined(__ppc64__) || defined(__powerpc64__) || defined(__ppc__) || defined(__powerpc__)