POSIX Thread's locks failed
keramida at linux.gr
Wed Aug 4 04:34:48 PDT 2004
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.
More information about the freebsd-current