Is there a library function to get the number of available worker threads? I have a slapd which contains multiple backends, where one backend ldapsearches the others. If all the threads are already taken when backend A ldapsearches backend B, this search hangs until the timelimit because slapd can't find an available thread for backend B. June