id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 12416,Windows: shared_mutex::state_data exceptions thrown in synthetic tests,Tomer Gal ,viboes,"Hi, My name is Tomer Gal. We have created synthetic benchmarks in which we create many threads. This causes shared_mutex to throw an exception when it has more than 2047 waiting threads due to the following limits: struct state_data { unsigned shared_count:11, shared_waiting:11, exclusive:1, upgrade:1, exclusive_waiting:7, exclusive_waiting_blocked:1; Obviously, creating more than 2047 threads waiting for a lock is too much for 'normal' code... however, the boost library shouldn't be the limiting factor for such a usage in my opinion. The state_data is currently limited to the size of(long) which is 32 bits, and it looks like it could be increased to 64 bits. Could this be fixed? Regards, Tomer Gal, CTO at OpTeamizer ",Feature Requests,assigned,To Be Determined,thread,Boost 1.61.0,Problem,,,