This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Multithread in arm linux
- From: Michael Snyder <msnyder at redhat dot com>
- To: Chen Qi-A18263 <A18263 at motorola dot com>
- Cc: "'gdb at sources dot redhat dot com'" <gdb at sources dot redhat dot com>
- Date: Tue, 05 Feb 2002 19:51:11 -0800
- Subject: Re: Multithread in arm linux
- Organization: Red Hat, Inc.
- References: <01139FC052A0D411900B00508B9535FC0201CCC2@ZCH07EXM04.corp.mot.com>
Chen Qi-A18263 wrote:
>
> Hi:
>
> Sorry to disturb you.
> I am trying to write some multi thread samples for Arm linux now.
> but I do not know which lib should I include.
> And I do not know if the function is same as the conventional ways such as CreatProcess.
> Could you do me a favor to give me some clue? or tell me how to find the samples?
> Now we are using cygwin.
>
> Thanks and Best Regards
Assuming you want to use poxix threads, it's "-lpthread".
And you would create them using pthread_create.