Thanks for the review. On Sun, Nov 12, 2017 at 04:19:00PM +0100, Johan Ström wrote: > Looks good to me, much cleaner indeed! Given that pthread_once is available > everywhere?
pthread_once is part of standard POSIX thread support, so any libc implementing pthreads should include it. All the supported platforms/libc's on the owfs porting page do. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers