Questions tagged [interruption]
126 questions
0
votes
1 answer
Print in screen without interruptions assembly 8086
I have a big problem with a program in assembly x86. I have to print in screen, that's easy, the real problem is that I have to do it without interruptions. I know that I have to write directly in video buffer, also I know that this memory is…

A Zuniga
- 97
- 1
- 5
- 15
0
votes
0 answers
add interrupt on error code 0x7 : Store/AMO access fault RISCV
I want to add an interruption on error code 0x7 : Store/AMO access fault of RISCV.
I created a SoC with LiteX tools. But, i don't happen to add my interruption in the vector interruption in mtvec register. The communication UART works under…

ChipsNet
- 1
0
votes
2 answers
Clean way to interrupt Bison/Flex based parser
tl;dr How to get a Bison/Flex parser to periodically run code that checks for an interruption request from the user?
I am looking to make a Bison/Flex based parser stop cleanly in response to interactive input. In other words, the parser should…

Szabolcs
- 24,728
- 9
- 85
- 174
0
votes
1 answer
WKWebView audio interrupted when app AudioSessionCategory changes
TLDR: How to jumpstart a webviews audioSession without reloading its content?
Hello everyone. I am having a very specific issue with the wkwebview on iOS in regards to the AudioSession.Category management. I guess I start with that it is well…

TeeJaay
- 136
- 8
0
votes
1 answer
Restoring Interruption flag status in Java
Good Day!
I have been going through the Java Docs & some online resources on properly handling the InterruptedException due to bug reported by SonarQube. But not sure if I 100% understood if Interruption flag status always has to be restored…

Unknown
- 531
- 5
- 18
0
votes
0 answers
Interrupt not responding properly (pigpio)
I am working on my Raspberry pi-4 with JavaScript and pigpio module ,i found problems with interrupt ,
if you start interruption (by button for exp ) it will start a code , but if new interruption comes nothing will happen until the code of the…

0ussama
- 21
- 3
0
votes
0 answers
How can I make a interrupt in C#?
I'm a beginner in C#. I'm making a Window Form App with thread A
Because I want this thread to work continuously, I push a while loop into thread A. So, How can I stop this thread with a button? Are there any guys who have a solution for me?

Cong Hoan Nguyen
- 25
- 3
0
votes
1 answer
C# can't read serial port after few hours?
i have a project which read serial port data from device, and My operating system is windows 10. i Have read this :
C# Serial Port Check if Device is Connected
2. SerialPort.Close() freezes application if the USB COM Port in use has been…

Akbar Grunge
- 29
- 6
0
votes
1 answer
"Alarm Clock" interruption after first loop of the code
This infinite program creates 2 child processes and in a while() loop set an alarm() for 3s then send signals to both child processes so they print something out. when I execute, the first loop of the code works and one of the child processes print…

MounirDev
- 3
- 2
0
votes
1 answer
Interrupting Python blocks with exception catchers
This appeared to be a very obvious yet annoying issue.
Consider the code block here -
for i in tqdm.notebook.tqdm(range(int(3*len(structures)/4))):
try:
is_mal=np.array([1.]) if 'Malware' in structure_info[i] else np.array([0.])
…

Som V. Tambe
- 21
- 5
0
votes
2 answers
Atmel : can't turn to the main after interruption
I am using atmega328P , as it shown in the attached picture
when the interruption is executed , the program doesn't turn back to the main to execute the rest of the program ?
i made 2 functions ; one to blink led in portC and the other in PORT D…

Jbeli_ahmed
- 13
- 4
0
votes
0 answers
Raspberry PI wiringPi c++ call an object as an interruption
I'm quite a beginner in C++, for a robotic project, I'm creating a program to control several motors, and also get their speed.
For getting the speed, I have a "code wheel" installed on the motors which gives a 0/1 signal to a pin of the raspberry…

zepeu
- 81
- 2
- 16
0
votes
0 answers
How to programme a main function inside a GUI interface with button callbacks working as interruptions
Is it possible to create an interface that execute a main and the callbacks functions works as interruptions? I need an user interface that when the user push an on button the program starts to take images from a camera and then procesed them and…

conchigl
- 1
- 1
0
votes
1 answer
How to open the android "Priority only allows" screen
Is there an intent to open the android "Priority only allows" screen?
This is the screenshot I want to reach. Unfortunately, depending on the Android release, it might look very different. It is some confusion to the users to get to the right…

Ton
- 9,235
- 15
- 59
- 103
0
votes
1 answer
Program execution interrupted when certain String is read from File
I have a small problem with my code and hope you can help me.
This program below reads names that are written in a txt-file and stores them in a linked list and prints them back out on the command line.
The list consists of the following…

serene
- 11