Date: Wed, 3 Oct 2001 15:31:30 -0600 From: Chad David <davidc@acns.ab.ca> To: Oleg Golovanov <olmi@home.krasnoyarsk.ru> Cc: freebsd-questions@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: Question about pthread Message-ID: <20011003153130.A96520@colnta.internal> In-Reply-To: <3BBB77A7.5C4B129E@home.krasnoyarsk.ru>; from olmi@home.krasnoyarsk.ru on Thu, Oct 04, 2001 at 04:40:07AM %2B0800 References: <3BBB77A7.5C4B129E@home.krasnoyarsk.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 04, 2001 at 04:40:07AM +0800, Oleg Golovanov wrote: > Dear Sirs: > > I am using FreeBSD-2.2.8 and after calling pthread_create() > my programs get sigfault (SIGSEGV) and exited with core dump. > > I should like to ask if somebody know the solve of this problem. > My example of using pthread is included below. > > I ask to answer me directly on my e-mail. > > Oleg > ... > pthread_create(NULL, NULL, &coms, confd); ... I am not positive about 2.2.8, but I do not think you can pass NULL as the first argument to pthread_create(). -- Chad David davidc@acns.ab.ca ACNS Inc. Calgary, Alberta Canada To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011003153130.A96520>