Date: Sat, 26 Apr 2003 23:52:40 +0900 From: Kazuaki Oda <kaakun@highway.ne.jp> To: freebsd-threads@freebsd.org Subject: short libpthread patch Message-ID: <20030426235240.2f950c8e.kaakun@highway.ne.jp>
next in thread | raw e-mail | index | archive | help
Hi, all. I'm not a hacker, but following patch resolves a signal delivering problem of my short test program. Is it correct? diff -cr libpthread.orig/thread/thr_sig.c libpthread/thread/thr_sig.c *** libpthread.orig/thread/thr_sig.c Fri Apr 18 14:04:16 2003 --- libpthread/thread/thr_sig.c Sat Apr 26 23:37:20 2003 *************** *** 291,297 **** * Grab the next thread before possibly destroying * the link entry. */ ! pthread_next = TAILQ_NEXT(pthread, pqe); if ((pthread->state == PS_SIGWAIT) && sigismember(pthread->data.sigwait, sig)) { --- 291,297 ---- * Grab the next thread before possibly destroying * the link entry. */ ! pthread_next = TAILQ_NEXT(pthread, tle); if ((pthread->state == PS_SIGWAIT) && sigismember(pthread->data.sigwait, sig)) { -- Kazuaki Oda
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030426235240.2f950c8e.kaakun>