aboutsummaryrefslogtreecommitdiff
path: root/src/platform/windows/win_thread.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2021-12-08 12:01:32 -0500
committerGarrett D'Amore <garrett@damore.org>2021-12-08 20:08:47 -0500
commitdc91bed46dd12fdc843b9e2c4ed9f3e570914ba3 (patch)
tree7bc1d46d7a4edeee347f3b3c6daca9c832e7a341 /src/platform/windows/win_thread.c
parent317fdb2ff02c98d88a3950791e938b1db3cca1cd (diff)
downloadnng-dc91bed46dd12fdc843b9e2c4ed9f3e570914ba3.tar.gz
nng-dc91bed46dd12fdc843b9e2c4ed9f3e570914ba3.tar.bz2
nng-dc91bed46dd12fdc843b9e2c4ed9f3e570914ba3.zip
Could use GCC atomics for older versions of GCC.
This should help greatly with performance on older systems such as CentOS 7 and GCC 4.8. Though, such folks really should update to newer compilers. Folks running version of GCC earlier than 4.7 will still pay a rather significant performance penalty, as they still implement atomics with a global mutex.
Diffstat (limited to 'src/platform/windows/win_thread.c')
0 files changed, 0 insertions, 0 deletions