Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
-2 votes
1 answer
84 views

I'm developing a Winforms desktop application that needs to wake the screen (turn on the display) after it has turned off. Environment: WinForms (.NET Framework / .NET) Windows 10 / Windows 11 24H2 ...
2 votes
3 answers
178 views

This is my main script: #!/bin/bash read -p "Name: " NAME read -p "Age: " AGE read -p "Country: " COUNTRY echo "Your name is $NAME. You are $AGE years old. You ...
Benedix's user avatar
  • 31
0 votes
1 answer
243 views

I'm working on my first personal project - making a simple game of blackjack with Java and Java Swing (just what my class is going over) and I want to make it so that when a card is drawn in ...
Andy Zheng's user avatar
7 votes
1 answer
105 views

I want to wake up the ESP when it receives a message on the UART2 port. However, with the following code it never wakes up, even if a message is received. I am using the Lolin 32 Lite Devboard. #...
2 votes
1 answer
139 views

I am attempting to send out a grid, or lattice, or "matrix" of API requests using asyncio: For a "category 1," I may wish to request the datasets 1a, 1b, 1c. For category 2, I ...
0 votes
0 answers
26 views

I want to develop a UMD (user mode driver) on windows, when UMD will notify apps when windows exited from modern standby. So, I want to know how a UMD know when windows exit modern standby? I find ...
1 vote
0 answers
61 views

So, in my program I am trying to achieve microsecond precision, not only for counting purposes but also delays and sleep functions. I have tried all the functions like time.time or time....
Juu 's user avatar
  • 11
3 votes
1 answer
177 views

I was having strange performance issues in a single-threaded real-time program which I eventually narrowed down to this minimal example. It takes an array of 1 million floats as inputs, does some ...
0 votes
1 answer
90 views

As explained here, the Windows API GetMessage() blocks until a message is available. I would like to automatically wake after n seconds. Alternatively, I'd like to have the system post a WM after n ...
-3 votes
1 answer
147 views

How can I ensure that a Message Loop in Win API doesn't use the CPU when no messages are available? In other words, I effectively want a Message Loop which says "Sleep until I have a new message&...
2 votes
0 answers
58 views

I am working on an embedded Linux system (kernel-5.10.24), and I am testing libfaketime in the system. I got the master of libfaketime, after built it, I ran my test in shell as follows. with sleep 4 ...
wangt13's user avatar
  • 1,327
0 votes
0 answers
96 views

From the docs: setswitchinterval Set the interpreter’s thread switch interval (in seconds). This floating-point value determines the ideal duration of the "timeslices" allocated to concurrently ...
2 votes
1 answer
223 views

The following code fails to wait for picoseconds_longlong(1'000'000'000'000). Why? #include <chrono> #include <iostream> #include <thread> using namespace std; using ...
bers's user avatar
  • 6,331
1 vote
0 answers
73 views

I've been working on a project with PIC18F25K80 MCU for a while. My main purpose is to collect some sensor data based on user-defined intervals(like 1min) and since this is a battery-powered ...
ceryankolik's user avatar
0 votes
1 answer
312 views

I'm finding it difficult to find much reliable information on how to implement deep sleep in combination with wake on external IO with ESP32C6 (ESP32-C6-DevKitC-1, rev. 1.12). After days of false ...
DaveL17's user avatar
  • 2,081

15 30 50 per page
1
2 3 4 5
...
215

AltStyle によって変換されたページ (->オリジナル) /