From owner-freebsd-questions Tue Jun 4 8: 9:34 2002 Delivered-To: freebsd-questions@freebsd.org Received: from oh.daemon.sh (L0820P24.dipool.highway.telekom.at [62.46.166.120]) by hub.freebsd.org (Postfix) with ESMTP id AE8F437B403 for ; Tue, 4 Jun 2002 08:09:24 -0700 (PDT) Received: from oh.daemon.sh (sperber@localhost.oh.daemon.sh [127.0.0.1]) by oh.daemon.sh (8.12.3/8.11.6) with ESMTP id g54Cg7r1061371 for ; Tue, 4 Jun 2002 14:42:08 +0200 (CEST) (envelope-from sperber@oh.daemon.sh) X-Authentication-Warning: oh.daemon.sh: Host sperber@localhost.oh.daemon.sh [127.0.0.1] claimed to be oh.daemon.sh Received: by oh.daemon.sh (8.12.3/8.12.3/Submit) id g54Cg5Fp061364 for questions@freebsd.org; Tue, 4 Jun 2002 14:42:05 +0200 (CEST) (envelope-from sperber) Content-Type: text/plain; charset="us-ascii" From: Sperber To: questions@freebsd.org Subject: pthreads & freebsd Date: Tue, 4 Jun 2002 14:42:04 +0200 X-Mailer: KMail [version 1.4] MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200206041442.04783.sperber@gmx.at> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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