From: Brian Norris Date: Wed, 14 Aug 2013 04:09:30 +0000 (-0700) Subject: README.md: add supported API section X-Git-Tag: oopsla2015~21 X-Git-Url: http://plrg.eecs.uci.edu/git/?p=model-checker.git;a=commitdiff_plain;h=41f1a1cb050b8e83ae9e772e73860a0acca516dd README.md: add supported API section --- diff --git a/README.md b/README.md index c8f7550..1002ef2 100644 --- a/README.md +++ b/README.md @@ -146,10 +146,9 @@ Second, because CDSChecker must be able to manage your program for you, your program should declare its main entry point as `user_main(int, char**)` rather than `main(int, char**)`. -Third, test programs should use the standard C11/C++11 library headers -(``/``, ``, ``, ``). -As of now, we only support C11 thread syntax (`thrd_t`, etc. from -``). +Third, test programs must use the standard C11/C++11 library headers (see below +for supported APIs). Notably, we only support C11 thread syntax (`thrd_t`, etc. +from ``). Test programs may also use our included happens-before race detector by including and utilizing the appropriate functions @@ -167,6 +166,22 @@ available to the dynamic linker, using the `LD_LIBRARY_PATH` environment variable, for instance. +### Supported C11/C++11 APIs ### + +To model-check multithreaded code properly, CDSChecker needs to instrument any +concurrency-related API calls made in your code. Currently, we support parts of +the following thread-support libraries. The C versions can be used in either C +or C++. + +* ``, ``, `` +* `` +* `` +* `` + +Because we want to extend support to legacy (i.e., non-C++11) compilers, we do +not support some new C++11 features that can't be implemented in C++03 (e.g., +C++ ``). + Reading an execution trace --------------------------