Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > Parallel Program

Reply
Thread Tools

Parallel Program

 
 
chellappa
Guest
Posts: n/a
 
      11-11-2005
Hi All,
I need information running two function in parallel manner with out
using fork .. because i am trying to use fork ..but fork create two
process ..i will done through any other methods,one of my friend told
using thread.please help how to use thread run two program in parallel
manner
advance thanks
by
chellappa

 
Reply With Quote
 
 
 
 
slebetman@yahoo.com
Guest
Posts: n/a
 
      11-11-2005
chellappa wrote:
> Hi All,
> I need information running two function in parallel manner with out
> using fork .. because i am trying to use fork ..but fork create two
> process ..i will done through any other methods,one of my friend told
> using thread.please help how to use thread run two program in parallel
> manner
> advance thanks
> by
> chellappa


How to create threads depends on your OS & available API. But since you
have fork I'm assuming you have at least some POSIX compatability.
Google "pthread" to learn about threads.

 
Reply With Quote
 
 
 
 
pete
Guest
Posts: n/a
 
      11-11-2005
chellappa wrote:
>
> Hi All,
> I need information running two function in parallel manner with out
> using fork .. because i am trying to use fork ..but fork create two
> process ..i will done through any other methods,one of my friend told
> using
> thread.please help how to use thread run two program in parallel
> manner
> advance thanks


news:comp.unix.programmer

http://www.ungerhu.com/jxh/clc.welcome.txt

--
pete
 
Reply With Quote
 
Barry
Guest
Posts: n/a
 
      11-11-2005

"chellappa" <> wrote in message
news: ups.com...
> Hi All,
> I need information running two function in parallel manner with out
> using fork .. because i am trying to use fork ..but fork create two
> process ..i will done through any other methods,one of my friend told
> using thread.please help how to use thread run two program in parallel
> manner
> advance thanks
> by
> chellappa
>


You cannot run two programs in parallel using threads.


 
Reply With Quote
 
Christopher Benson-Manica
Guest
Posts: n/a
 
      11-11-2005
chellappa <> wrote:

> I need information running two function in parallel manner with out


[OT snipped]

Please do not feed the trolls.

--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cyberspace.org | don't, I need to know. Flames welcome.
 
Reply With Quote
 
Kenny McCormack
Guest
Posts: n/a
 
      11-11-2005
In article <dl26sl$8k8$>,
Christopher Benson-Manica <> wrote:
>chellappa <> wrote:
>
>> I need information running two function in parallel manner with out

>
>[OT snipped]
>
>Please do not feed the trolls.


Or, to put it more succinctly:

Not portable. Can't discuss it here. Blah, blah, blah.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Parallel in, Parallel out shift register Vivek Menon VHDL 0 06-10-2011 10:15 PM
Parallel in, Parallel out shift register Vivek Menon VHDL 5 06-08-2011 03:56 PM
Parallel port control with USB->Parallel converter Soren Python 4 02-14-2008 03:18 PM
java parallel port program bugs moses Java 10 09-06-2007 04:51 PM
Program Solaris driver for parallel port SmartMedia card reader? Christopher Tidy C++ 4 01-22-2007 10:09 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57