HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
rkaehn
cr_task.h
C2024–2024
rkaehn / cr_task.h

cr_task.h

Header-only library for asynchronous tasks in C

2Distinct people
2Mentions
0Explicit recommenders
277GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Header-only library for asynchronous tasks in C

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour2 dated mentions

Observed mentions: 2024-03-11 12:44:46 UTC to 2024-03-12 10:00:39 UTC.

012024-03-11 12:00:00 UTC to 2024-03-11 13:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsMar 11, 12:002024-03-11 13:00:00 UTC to 2024-03-11 14:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-03-11 14:00:00 UTC to 2024-03-11 15:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-03-11 15:00:00 UTC to 2024-03-11 16:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-03-11 16:00:00 UTC to 2024-03-11 17:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-03-11 17:00:00 UTC to 2024-03-11 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-03-11 18:00:00 UTC to 2024-03-11 19:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-03-11 19:00:00 UTC to 2024-03-11 20:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-03-11 20:00:00 UTC to 2024-03-11 21:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-03-11 21:00:00 UTC to 2024-03-11 22:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-03-11 22:00:00 UTC to 2024-03-11 23:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-03-11 23:00:00 UTC to 2024-03-12 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsMar 11, 23:002024-03-12 00:00:00 UTC to 2024-03-12 01:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-03-12 01:00:00 UTC to 2024-03-12 02:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-03-12 02:00:00 UTC to 2024-03-12 03:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-03-12 03:00:00 UTC to 2024-03-12 04:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-03-12 04:00:00 UTC to 2024-03-12 05:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-03-12 05:00:00 UTC to 2024-03-12 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-03-12 06:00:00 UTC to 2024-03-12 07:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-03-12 07:00:00 UTC to 2024-03-12 08:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-03-12 08:00:00 UTC to 2024-03-12 09:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-03-12 09:00:00 UTC to 2024-03-12 10:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-03-12 10:00:00 UTC to 2024-03-12 11:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsMar 12, 10:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Mar 11, 12:002024-03-11 12:00:00 UTC2024-03-11 13:00:00 UTC110
Mar 11, 13:002024-03-11 13:00:00 UTC2024-03-11 14:00:00 UTC000
Mar 11, 14:002024-03-11 14:00:00 UTC2024-03-11 15:00:00 UTC000
Mar 11, 15:002024-03-11 15:00:00 UTC2024-03-11 16:00:00 UTC000
Mar 11, 16:002024-03-11 16:00:00 UTC2024-03-11 17:00:00 UTC000
Mar 11, 17:002024-03-11 17:00:00 UTC2024-03-11 18:00:00 UTC000
Mar 11, 18:002024-03-11 18:00:00 UTC2024-03-11 19:00:00 UTC000
Mar 11, 19:002024-03-11 19:00:00 UTC2024-03-11 20:00:00 UTC000
Mar 11, 20:002024-03-11 20:00:00 UTC2024-03-11 21:00:00 UTC000
Mar 11, 21:002024-03-11 21:00:00 UTC2024-03-11 22:00:00 UTC000
Mar 11, 22:002024-03-11 22:00:00 UTC2024-03-11 23:00:00 UTC000
Mar 11, 23:002024-03-11 23:00:00 UTC2024-03-12 00:00:00 UTC000
Mar 12, 00:002024-03-12 00:00:00 UTC2024-03-12 01:00:00 UTC000
Mar 12, 01:002024-03-12 01:00:00 UTC2024-03-12 02:00:00 UTC000
Mar 12, 02:002024-03-12 02:00:00 UTC2024-03-12 03:00:00 UTC000
Mar 12, 03:002024-03-12 03:00:00 UTC2024-03-12 04:00:00 UTC000
Mar 12, 04:002024-03-12 04:00:00 UTC2024-03-12 05:00:00 UTC000
Mar 12, 05:002024-03-12 05:00:00 UTC2024-03-12 06:00:00 UTC000
Mar 12, 06:002024-03-12 06:00:00 UTC2024-03-12 07:00:00 UTC000
Mar 12, 07:002024-03-12 07:00:00 UTC2024-03-12 08:00:00 UTC000
Mar 12, 08:002024-03-12 08:00:00 UTC2024-03-12 09:00:00 UTC000
Mar 12, 09:002024-03-12 09:00:00 UTC2024-03-12 10:00:00 UTC000
Mar 12, 10:002024-03-12 10:00:00 UTC2024-03-12 11:00:00 UTC101

What Hacker News says

2 sources
rkaehn·Mar 11, 2024Submission

Show HN: Async tasks in 350 lines of C

Tasks 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 from different subsystems can be automatically interleaved by the scheduler, which is difficult to achieve manually with threads without communication between the subsystems. The library is written in standard C11 and only depends on the C POSIX library
Read the rest
. It is designed to be easy to integrate into a project by just copying the header and simple enough to be understood in an afternoon.
146 points · Open discussion

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.