Rakesh Rao
Member
- Joined
- Oct 1, 2005
- Messages
- 18
- Programming Experience
- Beginner
Hey everybody!
Can anyone there tell me how to create a new thread at runtime. I wish to generate a number of threads at runtime.(i.e. I will not declare them while coding ) . but am looking for a way such that i can generate a variable number of threads at run time as per my requirement. I hav tried to this and i hav found that if we can declare a single thread and use it multiple times to access the same function but without making a conflict. But i want to simultaniously generate and fire a no of threads those all referencing to the same function and without making a conflict at all.
If somebody there who can help me out... am really in need of him/her.
i'll be very greatfull to the person.
Thanks a lot in advance!!
Can anyone there tell me how to create a new thread at runtime. I wish to generate a number of threads at runtime.(i.e. I will not declare them while coding ) . but am looking for a way such that i can generate a variable number of threads at run time as per my requirement. I hav tried to this and i hav found that if we can declare a single thread and use it multiple times to access the same function but without making a conflict. But i want to simultaniously generate and fire a no of threads those all referencing to the same function and without making a conflict at all.
If somebody there who can help me out... am really in need of him/her.
i'll be very greatfull to the person.
Thanks a lot in advance!!