descriptionProgramming language perormance game: C++ Threadring
homepage URLhttp://shootout.alioth.debian.org/u32q/
ownersuokkos@gmail.com
last changeThu, 25 Jun 2009 18:20:20 +0000 (25 21:20 +0300)
content tags
add:
readme

Threadring

Here is some work to improve performance of c++ threadring implementation.

Why did I do it?

I did archive first and second motivations. But 3rd one is still not yet archived. It is possible to write very fast userspace threading using posix or GNU pth but they both are missing scheduler (posix) or scheduler is bad (GNU pth).

I think that best approach to thread ring problem is non-preemptive M:1 threading in core. Start up initialisation could use kernel threads to speed up settup (unless there is static initializers for everything).

Branches

Master: g++ 4.4 with -std=c++0x. It doesn't have all the latest fancy code

cpp98_combapility: Latest code that should compile with any recent g++

minimal: Provement that C++ code size can be small too. (Too bad it is pick 2 from small code, small memory foot print and lighting fast)

License

see the website. It is BSD.

Thanks for interest.
Pauli

shortlog
2009-06-25 Pauli NieminenFix messed up concurrency defines.master
2009-06-25 Pauli NieminenAdd my name to headers.
2009-06-25 Pauli NieminenCompile out affinity stuff in case of no concurrency...
2009-06-25 Pauli NieminenCreate free threads if using concurrent thread creation
2009-06-25 Pauli NieminenMerge commit 'HEAD'; branch 'merge_affinity_with_classes'
2009-06-25 Pauli NieminenMake thread creation parallel
2009-06-25 Pauli NieminenMake it easier for compiler to remove that concurrency...
2009-06-25 Pauli NieminenMerge commit 'HEAD'; branch 'convert_to_class' into...
2009-06-25 Pauli NieminenMake threads only run in single cpu
2009-06-25 Pauli NieminenAdd ignore for ring
2009-06-25 Pauli NieminenAdd Makefile to help testing from ide (vi) :)
2009-06-25 Pauli NieminenImplement everything using classes and reduce memory...
2009-06-25 Pauli NieminenAdd Makefile to help testing from ide (vi) :)
2009-06-25 Pauli Nieminenthread-ring C++ GNU g++ #2 program
heads
14 years ago cpp98_combapility
14 years ago minimal
14 years ago master