Pthreads-free Linux threading demo
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Makefile
README.md
threads-i386.s
threads-x86_64.s

README.md

Pure assembly, library-free Linux threading demo

A demonstration of library-free, Pthreads-free threading in Linux with pure x86_64 assembly. Thread stacks are allocated with the SYS_mmap syscall and new threads are spawned with SYS_clone syscall. Synchronization is achieved with the x86 lock instruction prefix.