udan11/samp-plugin-mysql — pull request #2 by Y-Less (2013-05-23 15:44:27+00:00)
Title: Lock-free thread communications.

I know you were looking for a lock-free map implementation, but I've done this with queues anyway as I don't know of another implementation. This now separates out threaded and non-threaded queries and actually runs a separate thread for EVERY SQL connection, not just one for them all. (seems far saner in the case of two different engines at the least).