Big redesign with some assets I commissioned. Will be open sourcing here shortly once GitHub support finishes a couple requests on the repo.
Now freshly broken on safari!
Big redesign with some assets I commissioned. Will be open sourcing here shortly once GitHub support finishes a couple requests on the repo.
Now freshly broken on safari!
标题: 萝莉控也懂的深入浅出线程
摘要:* 只是闲着图一乐写的,本人水平有限
* 对Linux外的平台无任何了解,如果有错误可以在评论区纠正
* 有使用AI润色,因为语言组织水平太烂了
* 标题是玩《Hentai Prison》的梗
- [软件线程](#软件线程)
* [引入](#引入)
* [内核态](#内核态)
* [内核线程是什么?](#内核线程是什么)
* [用户态](#用户态)
* [pthreads](#pthreads)
* [实现...
只是闲着图一乐写的,本人水平有限 对Linux外的平台无任何了解,如果有错误可以在评论区纠正 有使用AI润色,因为语言组织水平太烂了 标题是玩《Hentai Prison》的梗 软件线程 引入 内核态 内核线程是什么? 用户态 pthreads 实现用户态线程 协程 C++20 Coroutine Rust Async 硬件线程 前言 GPGPU SIMT 总结 ~~线程(英语:thread)在计算机科学中,是将进程划分为两个或多个线程(实例)或子进程,由单处理
Fun with `pthread_cancel()` in curl. How I got that working and what challenges I encountered.
#curl #dns #pthreads
Updated (2025-08-22) at the end You probably know about threads and most likely heard of pthreads, but have you ever used pthread_cancel()? Well, I had not before last week and it was a little bit of a journey. What’s the problem? curl (or better libcurl) runs all transfers in the same thread (You can run libcurl in several threads, but that’s a story for another post). So, libcurl does not use threads, right? Well, maybe. If your curl is linked with c-ares for resolving, it does not. But without c-ares it tries to use threads, where available, for the “AsynchDNS” feature.
On a Simplified Approach to Achieve Parallel Performance and Portability Across CPU and GPU Architectures
#CUDA #HIP #Pthreads #Fortran #PerformancePortability #Package
This paper presents software advances to easily exploit computer architectures consisting of a multi-core CPU and CPU+GPU to accelerate diverse types of high-performance computing (HPC) application…
[Перевод] Xv6: учебная Unix-подобная ОС. Глава 6. Блокировки
Ядро ОС выполняет программы параллельно и переключает потоки по таймеру. Каждый процессор выполняет поток независимо от других. Процессоры используют оперативную память совместно, поэтому важно защитить структуры данных от одновременного доступа. Потоки испортят данные, если процессор переключится на другой поток, когда первый поток еще не завершил запись. Потоки конкурируют за доступ к структуре данных. Ядро кишит структурами, которые потоки используют совместно. Блокировки защищают данные при конкурентном доступе. Глава расскажет, зачем нужны блокировки, как xv6 реализует и использует блокировки.
https://habr.com/ru/articles/797557/
#xv6 #блокировки #прерывания #взаимоблокировки #потоки #параллельное_программирование #многопоточность #pthreads #lockfree