Top "Interrupt" questions

Use for questions related to interrupt signals and interrupt handling.

Why disabling interrupts disables kernel preemption and how spin lock disables preemption

I am reading Linux Kernel Development recently, and I have a few questions related to disabling preemption. In the "Interrupt …

linux linux-kernel interrupt spinlock preemption
What does Future.cancel() do if not interrupting?

From java docs on Future.cancel() boolean cancel(boolean mayInterruptIfRunning) Attempts to cancel execution of this task. This attempt will …

java multithreading interrupt future
Does the finally block execute if the thread running the function is interrupted?

If I have a function with a try/finally section, and the thread running it is interrupted while in the …

java multithreading try-catch interrupt interruption
Boost Thread - How to acknowledge interrupt

I have blocking task which will be performed by find_the_question() function. However, I do not want thread executing …

c++ interrupt boost-thread
When an Thread.interrupt() is called on some thread, what happens?

When an Thread.interrupt() is called on some thread, what happens to that thread?

java multithreading interrupt
ARM Cortex M3 How do I determine the program counter value before a hard fault?

I have an embedded project using a STM32F103 (ARM Cortex M3), it is getting a occasionally getting hard fault …

embedded arm interrupt cortex-m3 program-counter
SPI Slave setup on STM32F4 board

I am trying to communicate between two STM32F4 discovery boards via SPI in Master & Slave configuration. I already …

interrupt master-slave spi stm32f4discovery
Interrupting blocked read

My program goes through a loop like this: ... while(1){ read(sockfd,buf,sizeof(buf)); ... } The read function blocks when it …

c linux signals interrupt
Which context are softirq and tasklet in?

I know that there are process context and interrupt context but I don't understand when executing softirq or tasklet, which …

linux linux-kernel interrupt softirq
How to Interrupt/Stop/End a hanging multi-threaded python program

I have a python program that implements threads like this: class Mythread(threading.Thread): def __init__(self, name, q): threading.…

python multithreading interrupt hung