Click here to Skip to main content
15,915,093 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Help on Multi-Threaded applicaiton Pin
Kiran Satish1-Jul-08 12:38
Kiran Satish1-Jul-08 12:38 
GeneralRe: Help on Multi-Threaded applicaiton Pin
Mark Salsbery1-Jul-08 13:34
Mark Salsbery1-Jul-08 13:34 
GeneralRe: Help on Multi-Threaded applicaiton Pin
Kiran Satish1-Jul-08 14:48
Kiran Satish1-Jul-08 14:48 
GeneralRe: Help on Multi-Threaded applicaiton Pin
Mark Salsbery2-Jul-08 5:19
Mark Salsbery2-Jul-08 5:19 
GeneralRe: Help on Multi-Threaded applicaiton Pin
Kiran Satish5-Aug-08 12:22
Kiran Satish5-Aug-08 12:22 
GeneralRe: Help on Multi-Threaded applicaiton Pin
Mark Salsbery6-Aug-08 6:49
Mark Salsbery6-Aug-08 6:49 
GeneralRe: Help on Multi-Threaded applicaiton Pin
Kiran Satish6-Aug-08 10:00
Kiran Satish6-Aug-08 10:00 
GeneralRe: Help on Multi-Threaded applicaiton Pin
Mark Salsbery7-Aug-08 5:41
Mark Salsbery7-Aug-08 5:41 
Kiran Satish wrote:
I think I might just use a standard circular buffer of my own rather than BipBuffer as I see there is something going on when using it.


I think that's a good place to start. I use simple queues (FIFO) with good results.

Use preallocated buffers, and design them so they can work with the queue with as little
blocking synchrnization as possible.

Also try to eliminate copying the frame data so many times (~13MB/sec for each!) -
it looks like every thread does a copy. If any threads can share
the same copy, that will be much more efficient.

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: Help on Multi-Threaded applicaiton Pin
Kiran Satish7-Aug-08 6:45
Kiran Satish7-Aug-08 6:45 
AnswerRe: Help on Multi-Threaded applicaiton Pin
Simon Cooke15-Oct-08 21:52
Simon Cooke15-Oct-08 21:52 
GeneralRe: Help on Multi-Threaded applicaiton Pin
Kiran Satish6-Aug-08 13:33
Kiran Satish6-Aug-08 13:33 
QuestionGet Running Application's Main Window Pin
vikrant kpr27-Jun-08 12:22
vikrant kpr27-Jun-08 12:22 
Questionwinsock2 recv() returns empty buffer, but correct number of bytes received Pin
Member 427345427-Jun-08 11:14
Member 427345427-Jun-08 11:14 
AnswerRe: winsock2 recv() returns empty buffer, but correct number of bytes received Pin
Mark Salsbery28-Jun-08 11:15
Mark Salsbery28-Jun-08 11:15 
QuestionOLE Automation server's knowledge of client(s) Pin
garyflet27-Jun-08 6:11
garyflet27-Jun-08 6:11 
AnswerRe: OLE Automation server's knowledge of client(s) Pin
Roger Stoltz27-Jun-08 7:42
Roger Stoltz27-Jun-08 7:42 
QuestionRe: OLE Automation server's knowledge of client(s) Pin
garyflet27-Jun-08 8:27
garyflet27-Jun-08 8:27 
AnswerRe: OLE Automation server's knowledge of client(s) Pin
Roger Stoltz30-Jun-08 1:31
Roger Stoltz30-Jun-08 1:31 
Questionerror appear Pin
sofia_11127-Jun-08 5:32
sofia_11127-Jun-08 5:32 
AnswerRe: error appear Pin
led mike27-Jun-08 5:37
led mike27-Jun-08 5:37 
GeneralRe: error appear [modified] Pin
sofia_11127-Jun-08 7:03
sofia_11127-Jun-08 7:03 
QuestionRe: error appear Pin
CPallini27-Jun-08 9:40
mveCPallini27-Jun-08 9:40 
AnswerRe: error appear Pin
sofia_11127-Jun-08 12:54
sofia_11127-Jun-08 12:54 
AnswerRe: error appear Pin
Hamid_RT30-Jun-08 18:30
Hamid_RT30-Jun-08 18:30 
QuestionExtending Exchange Server Pin
Steve Thresher27-Jun-08 3:38
Steve Thresher27-Jun-08 3:38 

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.