21 Sep
2013
21 Sep
'13
8:19 a.m.
On Saturday 21 September 2013 09:38:37 Tim Blechmann wrote:
get_value() may need some special care, but i'm not planning to add this to the sync::semaphore interface, because it is not widely supported: neither mach nor dispatch semaphores provide an API for accessing the semaphore count.
Maybe support it conditionally, like mutex::native_handle()?