146 questions
0
votes
2
answers
174
views
Does cancelling a Future re-interrupt a thread?
In chapter 7.1.5 of the "Java Concurrency in Practice" book, it says
When Future.get throws InterruptedException or TimeoutException and you know that the results is no longer needed by the ...
3
votes
2
answers
117
views
How do I use the int 16h interrupt to store a number of more than one digit typed from the keyboard?
I am implementing a fractional number calculator (numerators and denominators must be entered separately) for an assembly language course. I had already finished the logic of my program, but I ...
-5
votes
1
answer
90
views
An idiom for async functions with "busy" indication and progress logging?
I'm working on some JS code (which will run within Thunderbird, but that's not the main point). This code is kind of old, and does asynchronous work using setTimeout(); I want to transition it to ...
0
votes
1
answer
167
views
How to interrupt an uncompleted delay in SystemVerilog
I want to apply a different rising and falling delay to a signal using the following code:
timeunit 1ns;
timeprecision 1ps;
parameter real delay_en_rising_us = 100.0; //...
1
vote
1
answer
239
views
How to configure watchdog for the arduino Nano 33 BLE Sense board?
For the arduino Nano 33 BLE Sense board, the standard avr/wdt.h is not available. And it seems that no standard library provides it. How to use the watchdog system for this board ? I found no full ...
2
votes
1
answer
2k
views
Using HAL_GetTick in a interruption
Im working on a STM32F411CEU6 using STM32CubeIDE, Im making a library that works whit UART interruption, inside the UART interruption Im using the HAL_GetTick function to keep track of time, when I ...
0
votes
2
answers
677
views
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 ...
0
votes
1
answer
2k
views
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 ...
0
votes
1
answer
663
views
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 ...
1
vote
1
answer
207
views
interruption processing - the global variable value doesn't changed in function c++
i had change the global variable value in interrupt vector function, but this value doesn't transfered into the function or the function doesn't read the changed value, which is changed by the ...
1
vote
0
answers
83
views
Differences between software interrupts, system calls, subroutines and software signals
What is the difference between software interrupts, system calls, subroutines and software signals?
0
votes
1
answer
320
views
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 ...
0
votes
0
answers
48
views
How can I make a interrupt in C#? [duplicate]
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 ...
4
votes
0
answers
572
views
Is AdMob Banner Ad in my iOS app interrupting background audio from other apps?
I noticed a problem with my iOS app where audio playing from other apps (e.g. Podcast app) sometimes stops while my app is active. My app does not play any audio (it is quiet) and I would like ...
3
votes
1
answer
5k
views
Do interrupts exist in python?
Can you write interrupts in python which can trigger and break program flow as a result of some external event?
In particular suppose you have a thread doing a computation, you want that computation ...