Sentence 1:In the above , function ( ) can be called by different threads without any problem . Sentence 2:But , if the function is used in a reentrant interrupt handler and a second interrupt arises inside the function , the second routine will hang forever .