Can any one tell m what r th use of reentrant function and how to use it.

A reentrant function is just a normal function that can be called concurrently. So if you have two threads or processes that call the function at the same time, everything works fine. A non-reentrant function is one that has some hidden internal state, such as global or static variables, calls non-reentrant functions, or locks a limited resource.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.