mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
54ddb6599d
This variable is written on the main thread (where we can access prefs), but read on the socket thread on every poll iteration to decide whether we should record telemetry information. Making it atomic communicates our intent to read/write the value on multiple threads without any locking. Using relaxed memory consistency is just as efficient as what we have today, and it does not seem terribly crucial whether the *very next* poll iteration records telemetry once the pref is updated, or whether we can eventually get the correct value on the socket thread. |
||
---|---|---|
.. | ||
base | ||
build | ||
cache | ||
cache2 | ||
cookie | ||
dns | ||
ipc | ||
locales | ||
mime | ||
protocol | ||
sctp | ||
socket | ||
srtp | ||
standalone | ||
streamconv | ||
system | ||
test | ||
wifi | ||
Makefile.in | ||
moz.build | ||
necko-config.h.in |