How mutex works? F1() { lock(&A); dosomething() releaselock(&A); } F2() { lock(&A); ...
condition var & mutex confusingHi I'm new to multi threading. When I go through the pthread_mutex_t & pthread_cond_t, its bit...
returnint char*Hi, I need few clarification in returning pointers.. Assume a common API char* itoa(int); ...
difference in pass by pointer & referencehi What is the difference in pass by pointer and pass by reference? As per my understanding, t...
What will happen when new is called?I use something like this to slove this issue. if (obj == NULL) { myclass *tmp = new myclas...
This user does not accept Private Messages