Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
loeg
on May 24, 2020
|
parent
|
context
|
favorite
| on:
Implementing simple cooperative threads in C
The kernel does this for you, generally. You could use a segfault handler, stack probing, and a guard page to figure out when you're out of stack, but it's not clear how you grow the C stack if you're out of contiguous virtual address space.
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: