This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

tsk_lock issue

Hi, I have a query that if I perform tsk_lock() before any function and then again I call tsk_lock() in that function,would that affect any Normal working of tsk_lock.For e.g.

           tsk_lock()
            func1();
           tsk_unlock();

         func1()
         {
            tsk_lock();
            <some working>
            tsk_unlock();
         }


Is it correct?
Thanks.

0