pthreads

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

pthreads

1,549件の閲覧回数
snirnisim
Contributor III

hello everyone,

when i'm using eclipse to build an application that is using threads, i have to attach the library pthread in order that the

#include <pthread.h> will resolved.

  • is it possible to run a program that uses threads on the min bootable FS LTIB generates? i've created this filesystem and added some pacakges for my project.
  • is there anything i need to change on the build process while cross compiling except from the regular settings for builder linker and assembler and the linker add library path?

thanks,

snir.

ラベル(1)
0 件の賞賛
返信
1 返信

1,333件の閲覧回数
IvicaEftimovski
Contributor III

Nope, you don't need anything extra to add to use pthread aside from the include and the lib. Try changing the “hello world”  to thread example and it should compile just fine. I have used the lib without any issues on minimal ltib build.

0 件の賞賛
返信