Click here to Skip to main content
15,897,891 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
QuestionTrue or False Flags: best practices Pin
SSMERK00712-Jul-07 2:18
SSMERK00712-Jul-07 2:18 
GeneralRe: True or False Flags: best practices Pin
Emmanouil12-Jul-07 2:58
Emmanouil12-Jul-07 2:58 
AnswerRe: True or False Flags: best practices Pin
Pete O'Hanlon12-Jul-07 3:22
mvePete O'Hanlon12-Jul-07 3:22 
AnswerRe: True or False Flags: best practices Pin
Luc Pattyn12-Jul-07 5:39
sitebuilderLuc Pattyn12-Jul-07 5:39 
GeneralRe: True or False Flags: best practices Pin
SSMERK00712-Jul-07 5:56
SSMERK00712-Jul-07 5:56 
QuestionData collection and mapping Pin
patelash0111-Jul-07 10:22
patelash0111-Jul-07 10:22 
AnswerRe: Data collection and mapping Pin
Pete O'Hanlon11-Jul-07 10:53
mvePete O'Hanlon11-Jul-07 10:53 
QuestionMalloc & Page File Pin
Mr Simple9-Jul-07 9:59
Mr Simple9-Jul-07 9:59 
Hi.
I wish to create a 'circular buffer' that one thread can write to, and another read from. The data is going into the buffer very fast, and there is a lot of it. I will probably use malloc() to create a buffer, however I wish to use a large buffer, but due to the speed the data is going in and out, anything that will slow the whole process will result in an incomplete stream being read out of the buffer.

I am very worried about using a too large buffer, and the memory being put into a page file. Could someone please inform me how likely this is, when it will happen, how I can prevent it, the largest memory allocation I can create etc?

Thank you all!!
AnswerRe: Malloc & Page File Pin
Mr Simple9-Jul-07 10:03
Mr Simple9-Jul-07 10:03 
GeneralRe: Malloc & Page File Pin
Luc Pattyn9-Jul-07 10:11
sitebuilderLuc Pattyn9-Jul-07 10:11 
GeneralRe: Malloc & Page File Pin
Mr Simple9-Jul-07 22:10
Mr Simple9-Jul-07 22:10 
GeneralRe: Malloc & Page File Pin
Luc Pattyn10-Jul-07 0:50
sitebuilderLuc Pattyn10-Jul-07 0:50 
GeneralRe: Malloc & Page File Pin
Mr Simple10-Jul-07 5:19
Mr Simple10-Jul-07 5:19 
GeneralRe: Malloc & Page File Pin
Dan Neely10-Jul-07 5:37
Dan Neely10-Jul-07 5:37 
GeneralRe: Malloc & Page File Pin
Mr Simple10-Jul-07 5:44
Mr Simple10-Jul-07 5:44 
GeneralRe: Malloc & Page File Pin
Dan Neely10-Jul-07 7:09
Dan Neely10-Jul-07 7:09 
AnswerRe: Malloc & Page File Pin
Stephen Hewitt9-Jul-07 14:07
Stephen Hewitt9-Jul-07 14:07 
AnswerRe: Malloc & Page File Pin
Emmanouil12-Jul-07 3:22
Emmanouil12-Jul-07 3:22 
GeneralRe: Malloc & Page File Pin
Luc Pattyn12-Jul-07 7:27
sitebuilderLuc Pattyn12-Jul-07 7:27 
GeneralRe: Malloc & Page File Pin
Emmanouil12-Jul-07 7:58
Emmanouil12-Jul-07 7:58 
QuestionYour help is greatly appreciated Pin
columbiasmiles9-Jul-07 7:30
columbiasmiles9-Jul-07 7:30 
Questionadding elements in alphabetical order to a hashtable that deals with collisions using java Pin
claudinawales8-Jul-07 23:28
claudinawales8-Jul-07 23:28 
AnswerRe: adding elements in alphabetical order to a hashtable that deals with collisions using java Pin
Luc Pattyn9-Jul-07 10:56
sitebuilderLuc Pattyn9-Jul-07 10:56 
QuestionEncrypting data in a database Pin
jlebensold5-Jul-07 20:37
jlebensold5-Jul-07 20:37 
AnswerRe: Encrypting data in a database Pin
Paul Conrad4-Nov-07 7:08
professionalPaul Conrad4-Nov-07 7:08 

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.