Posts

Showing posts from December, 2013

[1] C++ Interview Questions

Image
C/C++ Complete Program Preparation Memory Layout of C Programs Question 9. Can You Name A Situation Where Joining Threads Should Be Avoided? Answer : A call to join() blocks the caller thread. This is really bad in situations where the caller thread is a main UI thread – because if the UI thread blocks, the application will stop responding to user inputs which will make it seem hanged. Another place where calling join() is not advisable is inside a main game loop. Calling join() can block update and rendering of the game scene and severly impact the user experience (it'll be like watching a You tube video on a dial up internet connection !). https://www.wisdomjobs.com/e-university/c-multithreading-developer-interview-questions.html https://www.wisdomjobs.com/e-university/c-multithreading-developer-interview-questions.html https://www.wisdomjobs.com/e-university/advanced-c-plus-plus-interview-questions.html C++ Preparation