Add a shared_ptr sanity check
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 14 Apr 2017 16:13:47 +0000 (12:13 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 3 May 2017 16:13:02 +0000 (12:13 -0400)
commit275cd9c9c5a6306986d4d637426ae5b98b7ce133
treeb803308a369730779274bdd61b3f2011505231cb
parent1c70dc63782814bc9d877cbb2e19bb7c0bb173b3
Add a shared_ptr sanity check

This was an example of the brutal bug that was due to the lack of GCC/C++
threads.  Now, if you look at the asm, you'll see a call to
uth_2ls_is_multithreaded().

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
tests/cpp_streams.cc