This is a very old kernel and I believe that your problem does not relates to kernel programming. In case it does, then please explain more in detail and in case it is not related to kernel programming, then this is not the proper list to ask user-level prgramming questions.
HTH
Ketan
On 8/30/05, linux lover <caprianking2002@xxxxxxxxx> wrote:
Thanks bhanumy kernel version is 2.4.9but im able to find out the problem, it has memory allocation problem.
On 8/30/05, Bhanu Kalyan Chetlapalli <chbhanukalyan@xxxxxxxxx > wrote:On 8/30/05, linux lover < caprianking2002@xxxxxxxxx> wrote:
> hi all,
> i hav a problem related to threads.
> i hav created a user program in which i create multiples files and for each
> file i create a thread to write on.
Please mention the problem. The reason being that this is not a good
model to do stuff on linux. Maybe there is a better solution.
> Upto 28 threads its working fine but when i increase the threads to 29 , not
> all threads are created successfully.
> After 12-13 thread, it starts returning EAGAIN error in pthread creation.
Always mention the kernel version you are using. Older Linux kernels
in 2.4 series used linux threads which had a manager thread etc. But
from 2.6 or so, NPTL is being used.
>
> can anyone help me
--
The difference between Theory and Practice is more so in Practice than
in Theory.