Short but sweet, I'm looking for a way to delay action in my programs without using a Thread.Sleep() or while(time!=this), or anything (as all of those hang my program while they're pausing).
There's got to be a better way! I've looked into threading, but I think I'm doing something wrong.
Apple iPad Mini is back to its lowest price, saving you $100 by Fiza Ali
Amazon US is once again offering the Apple iPad mini at its lowest price, so you may want to check it out. The iPad mini offers an 8.3‑inch Liquid Retina display which delivers a 2266×1488 pixel resolution at 326 ppi. It further supports P3 wide colour, True Tone, an anti‑reflective coating, and achieves up to 500 nits of brightness.
At its core sits the A17 Pro chip, which comprises a six‑core CPU (two performance cores and four efficiency cores), a five‑core GPU, and a 16‑core Neural Engine. Hardware‑accelerated ray tracing is supported for advanced graphics, and the Neural Engine accelerates machine learning tasks.
When it comes to the device’s camera system, video calls and selfies are handled by the 12MP Ultra Wide front camera with Centre Stage, while the 12MP Wide rear camera with True Tone flash captures photos, scans documents, and records 4K video. Moreover, the iPad mini features dual microphones for calls, video capture, and audio recording, alongside landscape‑oriented stereo speakers that deliver clear, immersive sound.
The iPad mini supports both Apple Pencil Pro and Apple Pencil (USB‑C). It also includes Apple Intelligence, a personal intelligence system that assists with writing, creative expression, and productivity.
Finally, wireless connectivity comprises Wi‑Fi 6E (802.11ax) with simultaneous dual‑band, Bluetooth 5.3, and sub‑6 GHz 5G and Gigabit LTE. Touch ID is also integrated into the top button, enabling secure fingerprint authentication for unlocking, app sign‑in, and Apple Pay.
Apple iPad mini (A17 Pro): $549 (Amazon US) - 15% off
This Amazon deal is US-specific and not available in other regions unless specified. If you don't like it or want to look at more options, check out the Amazon US deals page here.
Get Prime (SNAP), Prime Video, Audible Plus or Kindle / Music Unlimited. Free for 30 days.
As an Amazon Associate, we earn from qualifying purchases.
Cool, this is certainly helpful for a stop watch function. To do similar on Windows, was thinking to use the Windows 11's widgets, but shocker, those inbox widgets are totally broken and non-functional on my Surface Pro 7+ for some stupid microsoft half-baked-garbage quality reason!
Question
linked
Short but sweet, I'm looking for a way to delay action in my programs without using a Thread.Sleep() or while(time!=this), or anything (as all of those hang my program while they're pausing).
There's got to be a better way! I've looked into threading, but I think I'm doing something wrong.
Link to comment
https://www.neowin.net/forum/topic/339045-c-pause-without-sleep/Share on other sites
9 answers to this question
Recommended Posts