pthread_create() fails SysV in myDaemon on boot

Michael D. Berger m.d.berger at
Wed Nov 2 21:54:33 UTC 2011

Please pardon me if you see this twice.  I thought that the
newsgroup and the e-mail list were the same thing, but I now
see they are not.

In F15_64, on starting SysV myDaemon in level 3, with S99myDaemon

rtn = pthread_create() fails with:
   rtn=1=Operation not permitted

man pthread_create says this means:
   No permission to set the scheduling policy and parameters specified in

This happens for:
   policy = SCHED_FIFO
   policy = SCHED_RR

This code works if, after boot, I start it with:
   /etc/init.d/myDaemon start

and starts on boot in my old CentOS 5 box.

Thanks for your suggestions.

Michael D. Berger
m.d.berger at

More information about the users mailing list