using multicores
hi all,
i want to implement parallel programming in C my processor is dual core, so i think i can assign each cores to work simultaneously. Is it possible. if yes,how to do this? One thread will work with one core other will work with other core and finally i can get the combined result. I want to this in C... Help.. :) |
Quote:
There are MANY examples of this you can find on the Internet...choose one, and modify it according to what you need. |
Quote:
i have created a multi-threaded program, in C, but it is executing sequentially, i want it to be executed parallely, what to do for that? i have searched it, but could not find the proper answer for that. This i wanted to ask, but your reply was very rude. I thought this place is a very simple way of getting help. we can get help of almost every thing on internet, but there should be some place where you can get everything very easily with effective presentation and in easy understandable form. This is the place, if you do not want to reply, do not reply, but please do not discourage interested students. I think, http://http://www.linuxquestions.org is also for beginners, not only for a pro like you... |
Quote:
|
Quote:
Quote:
Quote:
https://www.linuxquestions.org/quest...reduce-940589/ ..where you say you're familiar with multi-thread programming, and were pointed to tutorials for it. Putting "linux multi core programming examples" into Google pulls up examples, one of which you were given in your other thread. More are easily found: http://www.cs.stolaf.edu/mtl/ Again, showing some effort/code on your part will make it more likely for you to get help. TELLING us to look things up for you probably won't. |
Quote:
now i understood what you wanted to tell. Next time, before posting any new thread, i will go thoroughly to whatever i am getting on googling. Actually, the forum makes things easy for me, from googling, i did not get what i want easily, but here i got, so i did this, next time i will not repeat this. And one more thing, your link seems to be very useful, and i think i got what i want :). Now, I will work on that. Thank You Sir, |
All times are GMT -5. The time now is 04:17 PM. |