Skip to main content
0 votes
2 answers
174 views

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 ...
Flamer's user avatar
  • 61
3 votes
2 answers
117 views

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 ...
Serujio74's user avatar
-5 votes
1 answer
90 views

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 ...
einpoklum's user avatar
  • 140k
0 votes
1 answer
167 views

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; //...
Du mmyTransistor's user avatar
1 vote
1 answer
239 views

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 ...
tjbtjbtjb's user avatar
2 votes
1 answer
2k views

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 ...
Electromosaw's user avatar
0 votes
2 answers
677 views

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 ...
Szabolcs's user avatar
  • 25.9k
0 votes
1 answer
2k views

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 ...
TeeJaay's user avatar
  • 144
0 votes
1 answer
663 views

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 ...
Unknown's user avatar
  • 531
1 vote
1 answer
207 views

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 ...
ant's user avatar
  • 41
1 vote
0 answers
83 views

What is the difference between software interrupts, system calls, subroutines and software signals?
pauk's user avatar
  • 418
0 votes
1 answer
320 views

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 ...
0ussama's user avatar
  • 21
0 votes
0 answers
48 views

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 ...
Cong Hoan Nguyen's user avatar
4 votes
0 answers
572 views

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 ...
Orestes's user avatar
  • 41
3 votes
1 answer
5k views

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 ...
FourierFlux's user avatar

15 30 50 per page
1
2 3 4 5
10