Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jun 2002 14:42:04 +0200
From:      Sperber <sperber@gmx.at>
To:        questions@freebsd.org
Subject:   pthreads & freebsd
Message-ID:  <200206041442.04783.sperber@gmx.at>

next in thread | raw e-mail | index | archive | help
Hi

I'm having problems with pthreads in freebsd. Especially with the paramet=
ers.
I'm trying to call a function with a char * parameter, but the ways I tri=
ed it=20
yet didn't work.
I found some examples on the net, which where probably for linux (-lpthre=
ad),=20
and which didn't work either.
So lets say I have:

void *my_function(char *my_parameter)
{
=2E..

}

and I want to create a thread with this function, how could that work?

 thx in advance,
  Sperber

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?200206041442.04783.sperber>