Subj : mutex problem To : comp.programming.threads From : LinuxGuy Date : Fri Jun 17 2005 12:56 am Hi, I have one thread which locks the mutex in one function for certain purose. but while executing that portion I am calling another function from same thread and want to update some data but, data I want to update may create problem as earlier function may be using that. in short how to use same mutex for locking twice in same thread. means I want to update same data structure in another function while other function using it by loking mutex any suggestion is welcome .