Preemptive Multitasking on an AVR Microcontroller
Preemptive multithreading for AVR microcontrollers. - TurkeyMcMac/avr_threads
Preemptive Multitasking on an AVR Microcontroller launched on May 25, 2020 with 63 votes, #865 of 4,813 launches that month and more than 90% of that year's launches. The site was still online in September 2026, 6 years on.
In plain words
This project implements preemptive multitasking capabilities on AVR microcontrollers, enabling multiple tasks to run concurrently on resource-constrained hardware. It is designed for developers building embedded systems who need task scheduling without the overhead of a full operating system. The implementation provides context switching and task management directly on AVR processors, making it useful for applications requiring parallel execution within the limitations of microcontroller environments.
written from the facts on this page · September 2026
Does a similar job
all alternatives →
Async tasks in 350 lines of C2024 · github.com · ▲146Tasks are a primitive for asynchronous programming and an alternative to working with threads directly. Instead of creating a thread, performing work, then waiting on it using synchronization primitives, you only define a unit of work and let a scheduler decide when and where to execute it. The threads that the scheduler uses are created once and reused for many tasks throughout the program's lifetime. In most cases, creating and executing a task requires not even a single syscall and is a significantly faster operation than creating a thread, resulting in lower latency. Furthermore, tasks…
A thread hierarchy management library in C2020 · github.com · ▲53Non-preemptive Thread Hierarchy Manager. Contribute to gueststar/nthm development by creating an account on GitHub.
Multi-monitor KVM using just a USB switch2024 · github.com · ▲397Simple KVM lets you control multiple PCs from one mouse, keyboard and monitor(s). It is similar to Haimgel's display-switch (https://news.ycombinator.com/item?id=29608967), but it provides a GUI which hopefully makes it a bit easier to set up. It also supports hotkeys which effectively lets you alt+tab between computers. I was surprised by the star-to-download ratio (55:400) on GitHub, so I thought I'd post it here as it might be useful to someone. Feedback welcome! Thanks, Fidel

A new hobby OS from “scratch” in C#2017 · github.com · ▲310A multitasking monolithic Kernel based x86 targeting Operating System written in C# from scratch aiming for high-level implementation of drivers in managed environment. - amaneureka/AtomOS

More life & fun this month
the category →
A free city-building game in your browser. You are the mayor. You know what the city needs. Now get it past the zoning board, the neighbors, the appeals court and the next election.
Life & fun · 1d ago · permit.petercai.com
- IV
Life & fun · 13d ago · tanzaniaeducationproject.org

Turn a phone, tablet or TV into a sign. Type a message and it fills the screen: welcome signs, timers, Wi-Fi passwords and more. No app, no account, free.
Life & fun · 14d ago · bigwords.page

Play a free virtual guitar online with your keyboard or by touch. Slow songs down and see every chord, string and strum. Acoustic, classic, electric and bass.
Life & fun · 8d ago · guitoro.com

Carrier settings from iPhone, Pixel and Galaxy firmware, decoded and compared: APNs, VoLTE, 5G and Wi-Fi Calling per carrier, and what each build changed.
Life & fun · 12d ago · carrierexplode.com

Life & fun · 22d ago · space.bl2.net
Source: Show HN post ↗
Launched alongside, May 2020
the whole month →
SHA-256 Animation▲1,053Animation of the SHA-256 hash function in your terminal. - in3rsha/sha256-animation
Dev tools · 2020 · github.com

This Word Does Not Exist uses an artificial intelligence model named GPT-2 to invent new English words.
AI · 2020 · thisworddoesnotexist.com
- P3
Life & fun · 2020 · leeoniya.github.io

