Hot answers tagged

1

For any reasonable definition of a 'main function', no. Each thread has to start at some point in the code. For the main thread that is usually called the main function. Modern programming languages are often designed that when starting a new thread it starts in a given function. You could call that the 'main function' of that thread, but is more commonly ...


Only top voted, non community-wiki answers of a minimum length are eligible