Re: thread problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks bhanu
my kernel version is 2.4.9
but 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.


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux