Pthreads-free Linux threading demo
Assembly Makefile
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 Integrate new source into the build system. Jul 23, 2015
Makefile Integrate new source into the build system. Jul 23, 2015
README.md
threads-i386.s
threads-x86_64.s Integrate new source into the build system. Jul 23, 2015

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.