What are these SDL debugger report streams that appear during initialization?

I noticed that in a single-threaded application, the SDL still generates some threads upon initialization. As a rule, I am not worried that I noticed that cURL requires that it be initialized before threads are created to ensure thread safety. Can they be ignored at all [to initialize cURL] or not? [Also, are they just a sign of using an external library, etc.?]

+3
source share
2 answers

grepping source, it seems that the audio subsystem can use streaming processing on most platforms, as well as the event subsystem on some platforms (mostly X11).

+1
source

cURL requires that it be initialized before threads are created for thread safety

This does not mean that the universe will explode if you create any thread (well, you already created it by starting the process) before initializing it. This means that you cannot have multiple threads invoking cURL routines before initialization (since they must create synchronization primitives, etc.).

Since the SDL does not call cURL at any point, the initialization order does not matter in this case.

+1
source

Source: https://habr.com/ru/post/1778585/


All Articles