This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Disabling Interrupts to prevent preemption of pthread.

Hi,

I am developing some software that runs on the Cortex 8A processor on the OMAP 3530.  I am developing an application that is utilizing several pthreads. My question: is there a way to disable and then re-enable interrupts in software?  I need to do this to prevent preemption during a short block of code for one of my threads.  Forgive my ignorance I am a newbie to this. 

Chris