Skip to content

Gods to simplify thread creation and error handling in c

License

Notifications You must be signed in to change notification settings

anedres/ThreadErrorGods

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ThreadErrorGods

Gods to simplify thread creation and error handling in c

Structs as simple as possible that function as c++ classes methods. Almost no runtime overhead, other than mutexes. The purpose is to have similar error handling capabilities as c++ in c.

The philosophy of the threads is to create them as the program starts and have a queue with tasks for the threads to perform.

A thread_task is a struct with a function pointer of the form

void (*function_pointer)(void*)

and a void pointer to potentially hold lead to the argument(s) of the function.

About

Gods to simplify thread creation and error handling in c

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages