Date: Wed, 4 Aug 2004 16:58:29 +0600 From: "ngl" <ngl@ur.ru> To: <current@freebsd.org> Subject: POSIX Thread's locks failed Message-ID: <0ba301c47a11$fa028b80$0202000a@spirit>
next in thread | raw e-mail | index | archive | help
Hello all. Sorry for my english. 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. regards, Nik
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0ba301c47a11$fa028b80$0202000a>