mirror of
https://github.com/opnsense/src.git
synced 2026-04-05 17:35:17 -04:00
Instead of polling nleft[i] (without appropriate memory barriers!) and using sleep() to detect the exit just call pthread_join() on all threads. Also replace the use of a mutex that guarding the increments with atomic fetch_add. This should reduce the runtime of this test on SMP systems. Finally, remove all the debug printfs unless DEBUG_OUTPUT is set in the environment. Test Plan: still fails sometimes on qemu (but maybe less often?) Reviewed By: jhb Differential Revision: https://reviews.freebsd.org/D29390 |
||
|---|---|---|
| .. | ||
| c063 | ||
| db | ||
| gen | ||
| hash | ||
| iconv | ||
| inet | ||
| locale | ||
| net | ||
| nss | ||
| regex | ||
| resolv | ||
| rpc | ||
| setjmp | ||
| ssp | ||
| stdio | ||
| stdlib | ||
| string | ||
| sys | ||
| termios | ||
| time | ||
| tls | ||
| tls_dso | ||
| ttyio | ||
| Makefile | ||
| Makefile.depend | ||
| Makefile.netbsd-tests | ||