On 2004-08-04 16:58, ngl <ngl_at_ur.ru> wrote: > > I use libpcap and libc_r under FreeBSD 5.2.1-p9, and i has faced a problem, > that sometimes pthread_mutex doesn't work properly. > > I'm getting packets from bpf with pcap_next function in one thread and > processing them in another. Both threads are using the same pthread_mutex > to synchronize. Everything works perfectly, but sometimes i get errors > could arise only if synchronization failed. A small program that exhibits the problem when run and a few details about the way we should run it while trying to reproduce the problem would be fine, IMHO.Received on Wed Aug 04 2004 - 09:34:48 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:04 UTC