kenjgibson@gmail.com

  When you get a chance, take a look at the mt_pmemalloc_test I created in my linux-examples fork.  Once you review, I will push to your master repo as a pre-step to adding pthread protection to the library.  I've tested a malloc-based version of this as well as a single-threaded pmem version so I think the test program is solid.  When I run with multiple threads on the pmemalloc library, it hits an assert fairly quickly.