Click here to Skip to main content
15,895,011 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMessage Removed Pin
21-Mar-07 11:16
Armond Sarkisian21-Mar-07 11:16 
AnswerRe: Any string trimming functions? Pin
Nemanja Trifunovic21-Mar-07 11:28
Nemanja Trifunovic21-Mar-07 11:28 
AnswerRe: Any string trimming functions? Pin
PJ Arends21-Mar-07 12:47
professionalPJ Arends21-Mar-07 12:47 
Questionget netmask information when other IP address is known Pin
lucy21-Mar-07 11:05
lucy21-Mar-07 11:05 
QuestionQuestion regarding Windows SDK Pin
Vikrant for VC++21-Mar-07 8:45
Vikrant for VC++21-Mar-07 8:45 
AnswerRe: Question regarding Windows SDK Pin
Mark Salsbery21-Mar-07 9:10
Mark Salsbery21-Mar-07 9:10 
QuestionProducer - Consumer Issue Pin
godspeed12321-Mar-07 6:54
godspeed12321-Mar-07 6:54 
AnswerRe: Producer - Consumer Issue Pin
toxcct21-Mar-07 6:58
toxcct21-Mar-07 6:58 
godspeed123 wrote:
is there any way that I can do this


of course, you lock the shared resource (here, your circular queue") so that only one can use it at a time (either producer, or Consumer, but not both), and release it then.

you should document yourself about semaphore, mutex, and such security locking systems...


GeneralRe: Producer - Consumer Issue Pin
godspeed12321-Mar-07 7:02
godspeed12321-Mar-07 7:02 
GeneralRe: Producer - Consumer Issue Pin
toxcct21-Mar-07 7:07
toxcct21-Mar-07 7:07 
GeneralRe: Producer - Consumer Issue Pin
godspeed12321-Mar-07 7:17
godspeed12321-Mar-07 7:17 
GeneralRe: Producer - Consumer Issue Pin
toxcct21-Mar-07 7:29
toxcct21-Mar-07 7:29 
AnswerRe: Producer - Consumer Issue Pin
Nemanja Trifunovic21-Mar-07 7:14
Nemanja Trifunovic21-Mar-07 7:14 
GeneralRe: Producer - Consumer Issue Pin
godspeed12321-Mar-07 7:18
godspeed12321-Mar-07 7:18 
GeneralRe: Producer - Consumer Issue Pin
Nemanja Trifunovic21-Mar-07 7:27
Nemanja Trifunovic21-Mar-07 7:27 
AnswerRe: Producer - Consumer Issue Pin
Eytukan21-Mar-07 7:31
Eytukan21-Mar-07 7:31 
QuestionDll callback and MFC help [modified] Pin
Van Ly Doc Hanh21-Mar-07 6:01
Van Ly Doc Hanh21-Mar-07 6:01 
QuestionRe: Dll callback and MFC help Pin
David Crow21-Mar-07 6:40
David Crow21-Mar-07 6:40 
AnswerRe: Dll callback and MFC help Pin
Van Ly Doc Hanh21-Mar-07 6:45
Van Ly Doc Hanh21-Mar-07 6:45 
GeneralRe: Dll callback and MFC help Pin
David Crow21-Mar-07 6:47
David Crow21-Mar-07 6:47 
GeneralRe: Dll callback and MFC help [modified] Pin
Van Ly Doc Hanh21-Mar-07 7:18
Van Ly Doc Hanh21-Mar-07 7:18 
AnswerRe: Dll callback and MFC help Pin
Eytukan21-Mar-07 7:26
Eytukan21-Mar-07 7:26 
GeneralRe: Dll callback and MFC help Pin
Laxman Auti21-Mar-07 6:51
Laxman Auti21-Mar-07 6:51 
QuestionDialog box message map entry Pin
GruenerSchreibtisch21-Mar-07 5:58
GruenerSchreibtisch21-Mar-07 5:58 
AnswerRe: Dialog box message map entry Pin
David Crow21-Mar-07 6:36
David Crow21-Mar-07 6: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.