I am a system programmer , doing my program in C/RedHat LINUX ES4.0
version. I want to do concurrent programming in C , which will utilise
my system's 4 processor simutaneously.
I need some one's help to proceed.
Looking for early reply.
Amartya 8 1453
Amar wrote:
I am a system programmer , doing my program in C/RedHat LINUX ES4.0
version. I want to do concurrent programming in C , which will utilise
my system's 4 processor simutaneously.
I need some one's help to proceed.
Looking for early reply.
The standard C library doesn't have thread support.
Ask on either a linux programming group, or if you have more general
questions about threading, comp.programming.threads.
--
Ian Collins.
Amar wrote:
I am a system programmer , doing my program in C/RedHat LINUX ES4.0
version. I want to do concurrent programming in C , which will utilise
my system's 4 processor simutaneously.
I need some one's help to proceed.
Looking for early reply.
Amartya
Get a good book on concurrency and threads and read it. Find out what
facilities your system provides for concurrency, (hint: most Linux'es
provide multi-threading with pthreads).
The C language itself knows nothing about threads or multiple
processes and provides no facilities for concurrency. You'd be better
of asking in groups like comp.programming.threads or
comp.os.linux.programming.apps etc. Do read the groups FAQ before
posting.
"Amar" <am***************@gmail.comwrites:
I am a system programmer , doing my program in C/RedHat LINUX ES4.0
version. I want to do concurrent programming in C , which will utilise
my system's 4 processor simutaneously.
I need some one's help to proceed.
Standard C doesn't provide any support for concurrent programming.
Ask in comp.unix.programmer or one of the Linux groups.
--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
"Amar" <am***************@gmail.comwrote in message
>I am a system programmer , doing my program in C/RedHat LINUX ES4.0
version. I want to do concurrent programming in C , which will utilise
my system's 4 processor simutaneously.
I need some one's help to proceed.
Looking for early reply.
Amartya
Threads won't help much. Threads are for running two calculations on one
processor, whilst you want to run one calculation on two processors.
The standard interface for parallel programming is MPI. There is an ng
devoted to it. Though the C interface to MPI is a natural one to use, it is
classed as an extension and thus not topical here. That might have to change
since MPI is not strictly a library and throws up some compiler and stdlib
issues.
There is an MPI tuitorial on my website.
--
Free games and programming goodies. http://www.personal.leeds.ac.uk/~bgy1mm
Malcolm McLean wrote:
>
"Amar" <am***************@gmail.comwrote in message
>I am a system programmer , doing my program in C/RedHat LINUX ES4.0 version. I want to do concurrent programming in C , which will utilise my system's 4 processor simutaneously. I need some one's help to proceed. Looking for early reply. Amartya
Threads won't help much. Threads are for running two calculations on one
processor, whilst you want to run one calculation on two processors.
Where did the OP state that?
--
Ian Collins.
Malcolm McLean wrote:
"Amar" <am***************@gmail.comwrote in message
I am a system programmer , doing my program in C/RedHat LINUX ES4.0
version. I want to do concurrent programming in C , which will utilise
my system's 4 processor simutaneously.
I need some one's help to proceed.
Looking for early reply.
Amartya
Threads won't help much. Threads are for running two calculations on one
processor, whilst you want to run one calculation on two processors.
No, threads can be distributively scheduled among multiple processors.
<snip>
On Fri, 2 Mar 2007 14:55:06 -0600, Amar wrote
(in article <11**********************@v33g2000cwv.googlegroups .com>):
I am a system programmer , doing my program in C/RedHat LINUX ES4.0
version. I want to do concurrent programming in C , which will utilise
my system's 4 processor simutaneously.
I need some one's help to proceed.
Looking for early reply.
I suggest David Butenhof's excellent book on Posix Pthreads, and
comp.programming.threads as backup to it.
--
Randy Howard (2reply remove FOOBAR)
"The power of accurate observation is called cynicism by those
who have not got it." - George Bernard Shaw
On Fri, 2 Mar 2007 18:11:29 -0600, Malcolm McLean wrote
(in article <XP*********************@bt.com>):
>
"Amar" <am***************@gmail.comwrote in message
>I am a system programmer , doing my program in C/RedHat LINUX ES4.0 version. I want to do concurrent programming in C , which will utilise my system's 4 processor simutaneously. I need some one's help to proceed. Looking for early reply. Amartya
Threads won't help much. Threads are for running two calculations on one
processor, whilst you want to run one calculation on two processors.
This is completely incorrect.
The standard interface for parallel programming is MPI.
I detect a bias, but even bias doesn't explain wrong answers that well.
--
Randy Howard (2reply remove FOOBAR)
"The power of accurate observation is called cynicism by those
who have not got it." - George Bernard Shaw This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Candice |
last post by:
Please somebody help!
I've deleted my admin username and password which was initially set at test. Now I can't log into my website as the administrator. How do I put Username and Password back so...
|
by: Thomas G. Marshall |
last post by:
This message is sent to these newsgroups because they are no longer
valid:
comp.lang.java
comp.lang.java.api
comp.lang.java.bugs
comp.lang.java.misc
comp.lang.java.setup
comp.lang.java.tech
|
by: TrvlOrm |
last post by:
HI There,
I have been struggling with JavaScript code for days now, and this is
my last resort! Please help...
I am trying to create a JavaScript slide show with links for Next
Slide,...
|
by: salad |
last post by:
Thanks for reading this post and wasting your time. I was thinking
about writing about the PCDatasheet vs The Pussyfarts war. The
pussyfarts, as near as I can tell, have little to offer this...
|
by: sasan3 |
last post by:
Every thread I start goes out on a tangent simply because some of you
people are not reading my posts carefully:
Here is the phrase I am proposing for inclusion in the FAQ:
"to existing...
| |
by: CM |
last post by:
Hi,
Could anyone please help me?
I am completing my Master's Degree and need to reproduce a Webpage in
Word.
Aspects of the page are lost and some of the text goes.
I would really appreciate it....
|
by: Mickyd1561 |
last post by:
Hey everyone I'm new to this groups thing and thought maybe someone can
help me.
My problem is that I can't view specific images on only one website.
www.baseballu.net is my baseball team's...
|
by: darren112 |
last post by:
Hi Im new to python and I desperately need help with this task....
This is everything of what I need to do.......
The program to be written in Python obviously......
The program should support...
|
by: Sean128 |
last post by:
Hi,
I hope someone can help me - this seems like it should be a really simple problem but I've been having trouble trying to solve it all week.
I have hosted my website on a Linux server in 1...
|
by: Sean128 |
last post by:
Hi,
I hope someone can help me - this seems like it should be a really simple problem but I've been having trouble trying to solve it all week.
I have hosted my website on a Linux server in 1...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |