Consider the following code.
int count = 0;
void *thfunc ()
{
int ctr = 0;
for(ctr=0; ctr<100; ctr++)
count++;
}
If thfunc is executed by two threads concurrently in a uniprocessor system, what will be the $\textbf{MINIMUM}$ value of count when both threads complete their execution? Assume that count++ is performed using three instructions: (i) read value of count from memory to a $\text{CPU}$ register $\text{R},$ (ii) increament $\text{R},$ and (iii) store the value of $\text{R}$ in memory.
- $200$
- $100$
- $2$
- None of the above