Quote:
Originally Posted by orgcandman
Also, I'm not sure why people keep using usleep(). It is obsoleted and scheduled for removal from libc implementations at their own leisure. From the man page:
-Aaron
|
Yes, I first used nanosleep, but during all that trouble I tested all and at last usleep. It's just easier to use with one int value.
And I did now get, that it could also be a multicore bug in the scheduler with any short sleep, because on a monocore board it works fine, but very slow so not fast enough, not as fast as I need it.
Maybe I put those issues to the kernel mailing list and will have a look what they mean. It will be a very deep cut to the scheduler and modules. So that changes can be done for kernel 2.8.x or maybe kernel 3.x.x if Linus and the others think it will be a big advantage and if I want to wait so long.