Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Multicore resources in pure C

Tags:

c

multicore

Would anyone know any pointers to information about multicore programming in C? I apologize if the question has been asked before, after a "bona fide" search, I couldn't find it. I'd be happy to delete if someone points me to it.

like image 536
Dervin Thunk Avatar asked Nov 25 '10 12:11

Dervin Thunk


2 Answers

C1X is the unofficial name of the planned new standard for the C programming language.

Multithreading support (_Thread_local storage-class specifier, header including thread creation/management functions, mutex, condition variable and thread-specific storage functionality, as well as the _Atomic type qualifier and for uninterruptible object access)

like image 178
Mitch Wheat Avatar answered Oct 13 '22 13:10

Mitch Wheat


It is not included in the ANSI C standard, but if you are using Unix i would strongly suggest to take a look at Posix Threads

like image 22
Fabe Avatar answered Oct 13 '22 13:10

Fabe