]> git.cworth.org Git - apitrace/commit
More efficient synchronous multi-threading.
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Fri, 26 Oct 2012 17:13:10 +0000 (18:13 +0100)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Fri, 26 Oct 2012 17:13:10 +0000 (18:13 +0100)
commit58167d7abcd4159c5524ceca67f0ec58c96b0af7
tree3491db3eb26f9e4621ab681464d4f6b53ee7ea15
parent3f0c0e358bd7acf195dc098e167d96364b951a07
More efficient synchronous multi-threading.

Mimic a relay race, where only one thread is running at one time.

This gracefully degrades to the old behavior for single-threaded traces,
and is faster for multi-threaded traces, while still ensuring that the
recorded order is preserved.
CMakeLists.txt
common/os_thread.hpp
common/os_workqueue.hpp [deleted file]
common/workqueue.cpp [deleted file]
retrace/retrace_main.cpp