PDA

View Full Version : سوال: Error: operation not permited



Farnoushzn
جمعه 23 فروردین 1392, 00:43 صبح
I tried to test the first example of following page in C language, to recognize how exactly mutex works within the pthread creation.But unfortunately I got the problem that "operation not permited". can somebody tell me what's wrong with those codes?!! even I tested the other examples in this page I have same errors.
The page link: https://writer.zoho.com/public/rreginelli/Chapter-8---Mutexes-and-Concurrency-R21/noband

my output: t1: waiting on mutex t1: waiting on mutex Error creating thread 1: Operation not permitted
I run this sample in eclips on ubuntu/linaro 4.6.3
Thank you in advanced