Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Reg. pthreads compilation. : Page 1 of 4 (4 Items)
   
Reg. pthreads compilation.  
Hi All,

I am using QNX 6.4.0 version and application using pthreads, when I compile my application it give me following errors.

qnx/osixqnx.c:134: error: 'pthread_attr_t' has no member named 'flags'
qnx/osixqnx.c:135: error: 'pthread_attr_t' has no member named 'flags'
qnx/osixqnx.c:152: warning: assignment from incompatible pointer type

pthread_attr_t      Attr;

Attr.flags |= PTHREAD_MULTISIG_DISALLOW;
Attr.flags |= PTHREAD_CREATE_DETACHED;


If I see pthread_attr_t  structure in target_nto.h file flags are there in the structure.

Can anybody help me to solve this issue.

Thanks,
vinod.