Date: Tue, 31 Jan 2006 13:17:05 +0100 From: Jose Marcio Martins da Cruz <Jose-Marcio.Martins@ensmp.fr> To: Julian Elischer <julian@elischer.org> Cc: freebsd-threads@freebsd.org Subject: Re: Changes from 5.2.1 to 5.3 (theads / signal handling) Message-ID: <43DF5541.1050100@ensmp.fr> In-Reply-To: <43D9345D.9010205@elischer.org> References: <43D74F91.2090009@ensmp.fr> <43D7C786.1090803@elischer.org> <43D7E45E.8070103@ensmp.fr> <43D802DF.9040003@elischer.org> <43D88E69.1020102@ensmp.fr> <43D922D5.1000307@elischer.org> <43D9324A.40905@ensmp.fr> <43D9345D.9010205@elischer.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] Julian Elischer wrote: > Jose Marcio Martins da Cruz wrote: ... >> This application runs fine under Solaris (four years long now). > > Each implementation has different side-effects Well, Solaris 10 implements fork1 and forkall. forkall man page have many warnings about this issue, but as they implemented, they surely worked hard to minimize side-effects. > On FreeBSD 6, try the libthr() threading library. I turned my code back to as it was before : instead of using a threaded signal handler, I'm using again a handler defined by sigaction. This works fine with libpthread, but not with libthr on a 5.3 machine. I'm doing some more changes, as before defining signal handling, the application "daemonizes" : forks twice, close and redirect stdin, stdout, stderr, ... and so. Removing this, the application beguns to work but there are still problems. So, I'm getting a test machine to install FreeBSD 6 and debug it. But, what's the relations between pre and after 5.3 libpthreads ? What about libptl2 and libthr ? Again, thanks for you answers Jose-Marcio -- --------------------------------------------------------------- Jose Marcio MARTINS DA CRUZ Tel. :(33) 01.40.51.93.41 Ecole des Mines de Paris http://j-chkmail.ensmp.fr 60, bd Saint Michel http://www.ensmp.fr/~martins 75272 - PARIS CEDEX 06 mailto:Jose-Marcio.Martins@ensmp.fr [-- Attachment #2 --] 0 *H 010 + 0 *H (000 *H 0y10U Root CA10Uhttp://www.cacert.org1"0 UCA Cert Signing Authority1!0 *H support@cacert.org0 060121144820Z 070121144820Z0S1$0"UJose-Marcio Martins da Cruz1+0) *H Jose-Marcio.Martins@ensmp.fr0"0 *H 0 ̮PْOE4Re4i\E}<_)#Ss}A.m\]O@aJ/Ƅ_"P⸧B<x [s4g P#^PEHzCb;aG\Q$\dYvc}gh 70,kt跾n|K/m̧ٺLv62,@֯Fdz5qU;|' 00U0 0V `HB IGTo get your own certificate for FREE head over to http://www.CAcert.org02+&0$0"+0http://ocsp.cacert.org0'U 0Jose-Marcio.Martins@ensmp.fr0 *H H h5&' t RL}A|36 '[N"ئWݣϑ2D#+;/uZQ7%ytWUAITЖ fjyн7"r%0HV25;q1JwzCK+aiCUYcPr',#A5$q9lv{{*NB>748]y){xELptLA/>ҋVQumD[tF xEP=1{#8"l pHc{\JqP"]5)[Gsi6B,_S)yW^8 xA{ʲֲ ʋJG8>͞%H#`|a/*4vr~YlG厍107e$ي8"~ZQ2h kP Ӽ82CZ`~=50Maac,_Mο000 *H 0y10U Root CA10Uhttp://www.cacert.org1"0 UCA Cert Signing Authority1!0 *H support@cacert.org0 060121144820Z 070121144820Z0S1$0"UJose-Marcio Martins da Cruz1+0) *H Jose-Marcio.Martins@ensmp.fr0"0 *H 0 ̮PْOE4Re4i\E}<_)#Ss}A.m\]O@aJ/Ƅ_"P⸧B<x [s4g P#^PEHzCb;aG\Q$\dYvc}gh 70,kt跾n|K/m̧ٺLv62,@֯Fdz5qU;|' 00U0 0V `HB IGTo get your own certificate for FREE head over to http://www.CAcert.org02+&0$0"+0http://ocsp.cacert.org0'U 0Jose-Marcio.Martins@ensmp.fr0 *H H h5&' t RL}A|36 '[N"ئWݣϑ2D#+;/uZQ7%ytWUAITЖ fjyн7"r%0HV25;q1JwzCK+aiCUYcPr',#A5$q9lv{{*NB>748]y){xELptLA/>ҋVQumD[tF xEP=1{#8"l pHc{\JqP"]5)[Gsi6B,_S)yW^8 xA{ʲֲ ʋJG8>͞%H#`|a/*4vr~YlG厍107e$ي8"~ZQ2h kP Ӽ82CZ`~=50Maac,_Mο1000y10U Root CA10Uhttp://www.cacert.org1"0 UCA Cert Signing Authority1!0 *H support@cacert.org0 + 0 *H 1 *H 0 *H 1 060131121706Z0# *H 1Cgu\u%&y{zd0R *H 1E0C0 *H 0*H 0 *H @0+0 *H (0 +7100y10U Root CA10Uhttp://www.cacert.org1"0 UCA Cert Signing Authority1!0 *H support@cacert.org0*H 10y10U Root CA10Uhttp://www.cacert.org1"0 UCA Cert Signing Authority1!0 *H support@cacert.org0 *H qյxب8&mG&:{ ~=EDĈ,x՜tZj&!k?{8;vaL2.Q 6n|fa$xLz)_Nt(5cn$.m֫:*2yY.!@@ 0xp^ӈ= ԄGTH~(4wF8:x4u薩0c)>|WC$2}+XzLhelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43DF5541.1050100>
