threads/76513: libpthread is not working

justin at arl.army.mil justin at arl.army.mil
Thu Jan 20 11:20:25 PST 2005


>Number:         76513
>Category:       threads
>Synopsis:       libpthread is not working
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-threads
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 20 19:20:24 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Justin Shumaker
>Release:        FreeBSD 5.3-RELEASE i386
>Organization:
>Environment:
System: FreeBSD pong.arl.army.mil 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Dec 10 14:00:54 EST 2004 justin at pong.arl.army.mil:/usr/src/sys/i386/compile/SMP i386


	
>Description:
	libpthread is crashing when multiple threads are working inside of a loop 
	that is thread-safe inside of my ray-tracer.  When I set libmap to use libc_r 
	instead of libpthread everything just works.  Using libpthread with just 1 thread 
	also works just fine.
>How-To-Repeat:
	Cannoy paste my example code, not open source, try making a simple 
	multithreaded program using libpthread.
>Fix:
	No idea.

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-threads mailing list