Source

stmgc /

Filename Size Date modified Message
c3
c4
c7
checkfence
duhton
gil-c7
htm-c7
95 B
930 B
STM-GC
======

Welcome!

This is a C library that combines a GC with STM capabilities.
It is meant to be a general library that can be used in C programs.

The library interface is in "c4/stmgc.h".

Progress (these revisions are roughly stable versions, pick the last one):
- 3aea86a96daf: last rev of "c3", the previous version
- f1ccf5bbcb6f: first step, working but with no GC
- 8da924453f29: minor collection seems to be working, no major GC
- e7249873dcda: major collection seems to be working

The file "c4/doc-objects.txt" contains some low-level explanations.

Run tests with "py.test".

A demo program can be found in "c4/demo1.c".
It can be built with "make debug-demo1" or "make build-demo1".

The plan is to use this C code directly with PyPy, and not write
manually the many calls to the shadow stack and the barrier functions.
But the manual way is possible too, say when writing a small interpreter
directly in C.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.