Brice Goglin, le Wed 22 Aug 2012 07:52:07 +0200, a écrit : > Le 21/08/2012 21:18, Samuel Thibault a écrit : > > Brice Goglin, le Tue 21 Aug 2012 18:49:48 +0200, a écrit : > >> 1) We load plugins and list existing components once per topology. We > >> should do it only once per process. But that requires some locking in > >> case multiple topologies are loaded simultaneously, which means we need > >> thread-safety. Do we want pthread_mutex() for this? > > I'd say so. We can test in configure.ac whether -lpthread is really > > needed for that (it is not on most systems, which optimizes things away > > in non-libpthread cases). > > So pthread_mutex() is always available, at least with -lpthread, on all > platforms we support?
IIRC yes. For windows that needs a recent enough version of mingw, but that should be fine. Samuel