Skip to content

A java like implementation of posix threads encapsulated cleanly in a single C++ class.

License

Notifications You must be signed in to change notification settings

shie-ld/threads

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn

A java like implementation of posix threads encapsulated cleanly in a single C++ class.


Logo

Threads

A java like implementation of posix threads encapsulated cleanly in a single C++ class.

Report Bug · Request Feature

Table of Contents

About The Project

This project aims to mimic Java thread behaviors by wrapping Pthreads calls in a C++ class that will let you create threads Java style. Pthreads is commonly used for multithreaded programming in C and C++, but this API is procedural and somewhat less convenient to use than Java’s object oriented thread interface.

Built With

Getting Started

  1. cd to the threads directory.
  2. Type make.
  3. Run the test application as ./thread.

Prerequisites

  1. A C++ compiler, like g++ or cc or clang.
  2. make utility.

Both of them mostly come preinstalled in a typical linux distribution like Ubuntu.

Installation And Usage

  1. Clone the repo
git clone https://github.com/shie-ld/threads.git
  1. Get into the cloned directory
cd threads
  1. Build the program using make utility.
make
  1. Run the program.
./thread

Documentation

See the docs.

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

dixitrdreshofficial@gmail.com

Project Link: https://github.com/shie-ld/threads

About

A java like implementation of posix threads encapsulated cleanly in a single C++ class.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published