Hello. I was at the interview ... As a result, I was puzzled by the following question (approximately).
Here, for example, there is a sishnaya lib in the source ... There are a lot of global variables ... But it was not written for multi-threaded applications ... It is impossible to change source codes (and the task will be too impossible)? In general, something needs to be done with global variables, but what?