
Sulky 232S-2001 Premium Invisible Thread for Sewing, 2200-Yard, Clear
A great solution for your needs. Free shipping and easy returns.

WonderFil Sue Daley Designs Neutrals Specialty Threads, 6 x 273yd spools 2-Ply 80wt Cottonized Soft Polyester Silk-Like Thread Fine Sewing English Paper Piecing EPP Applique Sewing Decobob
A great solution for your needs. Free shipping and easy returns.

CiaraQ Sewing Threads Kits, 30 Colors Polyester 250 Yards Per Spools for Hand Sewing & Embroidery
A great solution for your needs. Free shipping and easy returns.

Magic Thread Round (Blue-Ivory, 2-Pack)
A great solution for your needs. Free shipping and easy returns.

Dual Duty Xp General Purpose Thread 250yd-Natural
A great solution for your needs. Free shipping and easy returns.

Maitys 2 Pcs Thread Wax Thread Conditioner Beeswax for Hand Sewing Embroidery Beeswax Floss Conditioner for Quilting Sewing Strengthening Line Embroidery Wax (Colorless)
A great solution for your needs. Free shipping and easy returns.

Gutermann Invisible Thread 274yd, Clear
A great solution for your needs. Free shipping and easy returns.

4-PACK – Coats & Clark – Dual Duty XP Heavy Weight Thread – 4 Color Value Pack – (Black+White+Slate+Natural) 125yds Each
A great solution for your needs. Free shipping and easy returns.

12 Colors Sewing Thread, 700 Yards Thread for Sewing, Hilos para Coser, Polyester All Purpose Thread for Beginners, Hand Stitching, Quilting, Travel, Sewing & Embroidery
A great solution for your needs. Free shipping and easy returns.

2-Pack – BLACK & WHITE – Coats & Clark Dual Duty All-Purpose Thread – One 400 Yard Spool each of BLACK & White
A great solution for your needs. Free shipping and easy returns.
Related Images for Pattern Thread Safe

This implementation attempts to be thread-safe without the necessity of taking out a lock every time.
I was reading this best singleton implementation in java, but its not thread safe.
I wrote a long time ago what was basically a note to myself about implementing the singleton pattern in c++. here i will update and expand on some of the issues.
The double checked locking pattern looks like a simple way to ensure that we can make singletons thread safe.
Possible duplicate: efficient way to implement singleton pattern in java.