Subject: Re: pthread assertion failure
To: None <current-users@NetBSD.org>
From: Christian Biere <christianbiere@gmx.de>
List: current-users
Date: 01/08/2004 10:11:52
--nFreZHaLTZJo0R7j
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Min Sik Kim wrote:
> I compiled this with the following command.
>=20
> cc -pthread -o terminal terminal.c
What happens if you compile it with
cc -D_REENTRANT -o terminal terminal.c -lpthread
and have you tried whether "#include <pthread.h>" makes a difference?
=20
> const int N_CHARSETS =3D 32;
> static char *charsets[] =3D {
This looks like a bad idea.
--=20
Christian
--nFreZHaLTZJo0R7j
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)
iD8DBQE//R7Y0KQix3oyIMcRAop6AKCSVb8RNLXVWVseZLSpYg0tWD7b+QCglMsy
pDbW6uz5g8wTdZktEjIIznc=
=npo7
-----END PGP SIGNATURE-----
--nFreZHaLTZJo0R7j--