Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Dec 2008 16:32:19 -0500
From:      Amol Dixit <dixit@netapp.com>
To:        Julian Elischer <julian@elischer.org>
Cc:        David Xu <davidxu@freebsd.org>, freebsd-threads@freebsd.org
Subject:   stop thread on creation
Message-ID:  <494186E3.2010307@netapp.com>
In-Reply-To: <48C0961E.5000300@elischer.org>
References:  488A213F.70105@netapp.com <48C06F77.6000006@elischer.org>	<48C0923F.6080608@freebsd.org> <48C094B8.3050302@elischer.org> <48C0961E.5000300@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
In linux, new threads STOP before executing the first instruction of 
their entry routine when process is being traced. This doesn't seem to 
be the case with new threads on freebsd. Is there a way to make this 
happen from libthr/libpthread calls or any other means?
Does freebsd native gdb expect new threads (from pthread_create()) to 
STOP so that it can resume them immediately?
Thanks,
Amol



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?494186E3.2010307>