samanbarghi / uThreads-exp

Experimental variations of uThreads

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

uThreads

A concurrent user-level thread library implemented in C++. uThreads only supports Linux on x86_64 platforms. Full documentation can be found here: samanbarghi.github.io/uThreads

Dependencies

  • gcc > 4.8
  • linux kernel >= 2.9

Installation

  • Change the destination directory in Makefile (DEST_DIR) to point to where you want the library files be installed. Default location is /usr/local
  • make
  • [sudo] make install
  • export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:DEST_DIR

Usage

Include "uThreads/uThreads.h" in your source file. Link your program with uThreads library (-luThreads). You can find examples under test directory. Perform make test to compile them and the binary will be created under bin directory.

About

Experimental variations of uThreads

License:Other


Languages

Language:C++ 58.6%Language:C 39.1%Language:Assembly 1.2%Language:Makefile 1.1%