Click here to Skip to main content
15,885,365 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSingle Processor Multithreaded Application!!!!!!! Does it Help????????????????? [modified] Pin
swarup19-Feb-08 10:05
swarup19-Feb-08 10:05 
GeneralRe: Single Processor Multithreaded Application!!!!!!! Does it Help????????????????? Pin
Maximilien19-Feb-08 10:24
Maximilien19-Feb-08 10:24 
GeneralRe: Single Processor Multithreaded Application!!!!!!! Does it Help????????????????? Pin
swarup19-Feb-08 10:53
swarup19-Feb-08 10:53 
GeneralRe: Single Processor Multithreaded Application!!!!!!! Does it Help????????????????? Pin
Dave Kreskowiak21-Feb-08 9:35
mveDave Kreskowiak21-Feb-08 9:35 
GeneralRe: Single Processor Multithreaded Application!!!!!!! Does it Help????????????????? Pin
led mike19-Feb-08 10:54
led mike19-Feb-08 10:54 
GeneralRe: Single Processor Multithreaded Application!!!!!!! Does it Help????????????????? Pin
swarup19-Feb-08 11:08
swarup19-Feb-08 11:08 
GeneralRe: Single Processor Multithreaded Application!!!!!!! Does it Help????????????????? Pin
led mike19-Feb-08 11:31
led mike19-Feb-08 11:31 
GeneralRe: Single Processor Multithreaded Application!!!!!!! Does it Help????????????????? Pin
swarup19-Feb-08 12:20
swarup19-Feb-08 12:20 
Hi Mike

No i dont think so,
take a scenario::
<br />
main()<br />
{<br />
thread t;<br />
for(i 0 to 100)<br />
{time =  t.callme();}<br />
///////so to complete will take 100sec // because one call then another call<br />
//now this way<br />
thread t[10];<br />
for(i 0 to 10)<br />
{t[i].callme();}<br />
loop another 10 times more<br />
//////so will it take 100sec or less or more?????????<br />
////at a given time 10 threads are running,so time taken should nt be 10 sec, right? it should be therotically 1 sec but say for example 5 secs, am i right???it should be less then 10 sec for 10 threads<br />
/////so what i am asking is???? the 2nd way will be faster or it will be the same????<br />
}<br />
<br />
callme()<br />
{<br />
u called me,finished in 1 sec;////serverside ignore bandwidth, uniform response throughout<br />
}<br />


thanks
Swarup
GeneralRe: Single Processor Multithreaded Application!!!!!!! Does it Help????????????????? Pin
led mike19-Feb-08 12:24
led mike19-Feb-08 12:24 
GeneralRe: Single Processor Multithreaded Application!!!!!!! Does it Help????????????????? Pin
David Crow19-Feb-08 17:04
David Crow19-Feb-08 17:04 
GeneralRe: Single Processor Multithreaded Application!!!!!!! Does it Help????????????????? Pin
Waldermort19-Feb-08 20:09
Waldermort19-Feb-08 20:09 
QuestionHow to make a line of bank customers with Queue Pin
apejman19-Feb-08 7:11
apejman19-Feb-08 7:11 
AnswerRe: How to make a line of bank customers with Queue Pin
Nathan Holt at EMOM19-Feb-08 8:51
Nathan Holt at EMOM19-Feb-08 8:51 
GeneralDialog with an activex control on it, living in a dll Pin
pragmaticDreamer19-Feb-08 5:55
pragmaticDreamer19-Feb-08 5:55 
General[Solved] VC6 and AMD Dual Core CPU problem [modified] Pin
followait19-Feb-08 5:30
followait19-Feb-08 5:30 
GeneralRe: VC6 and AMD Dual Core CPU problem Pin
Maximilien19-Feb-08 6:48
Maximilien19-Feb-08 6:48 
GeneralRe: VC6 and AMD Dual Core CPU problem Pin
followait19-Feb-08 15:01
followait19-Feb-08 15:01 
GeneralRe: VC6 and AMD Dual Core CPU problem Pin
Maximilien19-Feb-08 15:13
Maximilien19-Feb-08 15:13 
GeneralRe: VC6 and AMD Dual Core CPU problem Pin
followait19-Feb-08 15:43
followait19-Feb-08 15:43 
GeneralRe: VC6 and AMD Dual Core CPU problem Pin
Maxwell Chen19-Feb-08 17:25
Maxwell Chen19-Feb-08 17:25 
GeneralRe: VC6 and AMD Dual Core CPU problem Pin
followait19-Feb-08 17:38
followait19-Feb-08 17:38 
QuestionRe: VC6 and AMD Dual Core CPU problem [modified] Pin
Maxwell Chen19-Feb-08 17:56
Maxwell Chen19-Feb-08 17:56 
GeneralRe: VC6 and AMD Dual Core CPU problem Pin
followait19-Feb-08 23:08
followait19-Feb-08 23:08 
QuestionRe: VC6 and AMD Dual Core CPU problem Pin
David Crow19-Feb-08 17:06
David Crow19-Feb-08 17:06 
GeneralRe: VC6 and AMD Dual Core CPU problem Pin
followait19-Feb-08 17:36
followait19-Feb-08 17:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.