“Go to definition” takes me to:
void Thread::notify() const
I am scary when I see
defaultEvent, but OK let’s go deeper to
signal() definition. It takes me to:
void WaitableEvent::signal() const noexcept
if (! triggered)
triggered = true;
So now I am killed. I have no idea what is
pthread_mutex_lock, as well
OK I could go deeper for each of that staff. I am pretty sure each one is very interesting, and it would be smart to understand each one.
But you know what? About one year ago I was angry every time I don’t understand something. And I could not go further (some psychologic break) until I don’t understand what’s going on.
I couldn’t do anything because I was always go deep in details.
Then somebody told me: if you want to start programming something, don’t try to understand everything, because it’s just impossible to understand everything. So just take things (methods, classes etc.) like it is. If they work great, if not, use something else.
@matkatmusic Do you understand everything? If not, do you spend week for each small detail to understand until you use it? Great, you are genius and have infinite of time. Congrats.
I didn’t find the answer for my question. But I managed it around. And it works.