Click here to Skip to main content
15,920,704 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMulti-threaded graphics Pin
Iceman15-Apr-03 12:21
Iceman15-Apr-03 12:21 
GeneralRe: Multi-threaded graphics Pin
Iceman15-Apr-03 12:22
Iceman15-Apr-03 12:22 
GeneralRe: Multi-threaded graphics Pin
Joe Woodbury15-Apr-03 13:58
professionalJoe Woodbury15-Apr-03 13:58 
GeneralRe: Multi-threaded graphics Pin
Iceman15-Apr-03 14:06
Iceman15-Apr-03 14:06 
GeneralRe: Multi-threaded graphics Pin
Joe Woodbury15-Apr-03 14:08
professionalJoe Woodbury15-Apr-03 14:08 
GeneralRe: Multi-threaded graphics Pin
Iceman15-Apr-03 14:11
Iceman15-Apr-03 14:11 
GeneralRe: Multi-threaded graphics Pin
Gary R. Wheeler18-Apr-03 5:30
Gary R. Wheeler18-Apr-03 5:30 
GeneralRe: Multi-threaded graphics Pin
Michael Dunn15-Apr-03 19:54
sitebuilderMichael Dunn15-Apr-03 19:54 
Messages for a window can be processed only by the thread that created the window. That's how message pumps work. Designing you code so that another thread updates the UI will likely result in other problems (or at the very least, inefficiencies when the threads have to wait on each other).

But sticking with your question, if the worker thread is the only one touching the back buffer, why do you need a lock at all?

--Mike--
   THERE IS NO     THERE IS NO    BUT THERE IS
MAGIC PIXIE DUST  BUSINESS GENIE  CODE PROJECT


Homepage | RightClick-Encrypt | 1ClickPicGrabber
"You have Erica on the brain" - Jon Sagara to me

GeneralRe: Multi-threaded graphics Pin
Iceman16-Apr-03 2:50
Iceman16-Apr-03 2:50 
GeneralRe: Multi-threaded graphics Pin
Iceman16-Apr-03 2:57
Iceman16-Apr-03 2:57 
GeneralWeird run-time error Pin
will138315-Apr-03 10:25
will138315-Apr-03 10:25 
GeneralRe: Weird run-time error Pin
Chris Losinger15-Apr-03 10:35
professionalChris Losinger15-Apr-03 10:35 
GeneralRe: Weird run-time error Pin
will138315-Apr-03 10:38
will138315-Apr-03 10:38 
GeneralRe: Weird run-time error Pin
Joe Woodbury15-Apr-03 14:00
professionalJoe Woodbury15-Apr-03 14:00 
GeneralRe: Weird run-time error Pin
Beer15-Apr-03 13:21
Beer15-Apr-03 13:21 
Generalgethostbyaddr problem Pin
Tom Wright15-Apr-03 10:20
Tom Wright15-Apr-03 10:20 
GeneralRe: gethostbyaddr problem Pin
valikac15-Apr-03 11:09
valikac15-Apr-03 11:09 
GeneralRe: gethostbyaddr problem Pin
Tom Wright15-Apr-03 11:12
Tom Wright15-Apr-03 11:12 
GeneralRe: gethostbyaddr problem Pin
David Crow16-Apr-03 2:24
David Crow16-Apr-03 2:24 
GeneralRe: gethostbyaddr problem Pin
Tom Wright16-Apr-03 3:42
Tom Wright16-Apr-03 3:42 
GeneralRe: gethostbyaddr problem Pin
David Crow16-Apr-03 3:53
David Crow16-Apr-03 3:53 
GeneralRe: gethostbyaddr problem Pin
Tom Wright16-Apr-03 4:42
Tom Wright16-Apr-03 4:42 
GeneralRe: gethostbyaddr problem Pin
Tom Wright16-Apr-03 5:05
Tom Wright16-Apr-03 5:05 
GeneralFile Comparisons Pin
Colin Davidson15-Apr-03 10:06
Colin Davidson15-Apr-03 10:06 
GeneralRe: File Comparisons Pin
Joe Woodbury15-Apr-03 14:02
professionalJoe Woodbury15-Apr-03 14:02 

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.