Is it worthwhile using C\'s bit-field implementation? If so, when is it ever used?
I was looking through some emulator code and it looks like the registers for the c
Boost.Thread uses bitfields in its shared_mutex, on Windows at least:
shared_mutex
struct state_data { unsigned shared_count:11, shared_waiting:11, exclusive:1, upgrade:1, exclusive_waiting:7, exclusive_waiting_blocked:1; };