2df1fcb Ticket 80 - Decouple nunc-stans from NSPR

Authored and Committed by William Brown 7 years ago
    Ticket 80 - Decouple nunc-stans from NSPR
    
    Bug Description:  NSPR uses pthreads underneath so why don't we?
    We also want to use the cleaner inttypes.h. Pthreads is just as
    portable, and cleaner than NSPR
    
    Fix Description:  Replace NSPR in locations except for IO events.
    This includes locks and threads. This has a benefit: We have
    doubled the performance of nunc-stans. We previously saw ~1700
    connections per second, this now exceeds ~3800 per second with
    lock free, and ~1900 with a locked queue.
    
    https://pagure.io/nunc-stans/issue/80
    
    Author: wibrown
    
    Review by: mreynolds (thanks!)
    
        
file modified
+15 -8
file modified
+2 -0
file modified
+162 -128
file modified
+3 -3
file modified
+44 -47