This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Multithread in arm linux


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]