godot/core
Fabio Alessandrelli aca5540e13 [Net] Fix IP address resolution incorrectly locking the main thread.
This seems to be a pretty old bug, older then originally reported (at
least under certain circumstances).

The IP singleton uses a resolve queue so developers can queue hostnames
for resolution in a separate while keeping the main thread unlocked
(address-resolution OS functions are blocking, and could block for a long
time in case of network disruption).

In most places though, the address resolution function was called with
the mutex locked, causing other functions (querying status, queueing
another hostname, ecc) to block until that resolution ended.

This commit ensures that all calls to OS address resolution are done
with the mutex unlocked.
2021-08-03 00:24:22 +02:00
..
config Use const references where possible for List range iterators 2021-07-25 12:22:25 +02:00
crypto [Crypto] Delete mbedtls ctx in deconstructor. 2021-07-03 16:12:55 +02:00
debugger Use const references where possible for List range iterators 2021-07-25 12:22:25 +02:00
error Modernize atomics 2021-02-18 17:12:46 +01:00
extension Change Variant bool conversion to uint8_t 2021-07-27 09:00:56 -03:00
input Use const references where possible for List range iterators 2021-07-25 12:22:25 +02:00
io [Net] Fix IP address resolution incorrectly locking the main thread. 2021-08-03 00:24:22 +02:00
math Merge pull request #48958 from kleonc/astar-get_available_point_id-start-from-zero 2021-08-01 11:12:33 +02:00
object Use const references where possible for List range iterators 2021-07-25 12:22:25 +02:00
os Use doubles for time everywhere in Timer/SceneTree 2021-07-26 02:00:48 -04:00
string Use const references where possible for List range iterators 2021-07-25 12:22:25 +02:00
templates Fix Set range iterator implementation 2021-07-27 02:48:28 +02:00
variant Merge pull request #51084 from aaronfranke/no-dectime 2021-07-31 10:20:29 +02:00
core_bind.cpp Use Ref<T> references as iterators where relevant 2021-07-26 19:27:11 +02:00
core_bind.h Fix various typos with codespell 2021-07-25 11:21:51 +02:00
core_builders.py Update AUTHORS and DONORS list 2020-08-14 00:06:51 +02:00
core_constants.cpp Add type variations to Theme 2021-07-13 02:26:28 +03:00
core_constants.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
core_string_names.cpp Removed _change_notify 2021-02-10 19:31:24 -03:00
core_string_names.h Removed _change_notify 2021-02-10 19:31:24 -03:00
doc_data.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
doc_data.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
register_core_types.cpp Fix various typos with codespell 2021-07-25 11:21:51 +02:00
register_core_types.h Implement native extension system 2021-06-25 17:32:45 -03:00
SCsub Implement native extension system 2021-06-25 17:32:45 -03:00
typedefs.h Implement the ability to disable classes 2021-07-13 09:25:14 -03:00
version.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00