Click here to Skip to main content
15,914,642 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: Unity in Modular App Pin
aboubkr9015-Feb-17 9:58
professionalaboubkr9015-Feb-17 9:58 
QuestionOLD Visual Studio Web Site Project need to modenise look and feel Pin
bromster14-Feb-17 3:53
bromster14-Feb-17 3:53 
AnswerRe: OLD Visual Studio Web Site Project need to modenise look and feel Pin
Richard Deeming14-Feb-17 4:49
mveRichard Deeming14-Feb-17 4:49 
QuestionHow do you problem solve? Pin
TheOnlyRealTodd6-Feb-17 10:42
professionalTheOnlyRealTodd6-Feb-17 10:42 
AnswerRe: How do you problem solve? Pin
Amar Vala10-Feb-17 2:36
Amar Vala10-Feb-17 2:36 
AnswerRe: How do you problem solve? Pin
Eddy Vluggen10-Feb-17 4:22
professionalEddy Vluggen10-Feb-17 4:22 
AnswerRe: How do you problem solve? Pin
Gerry Schmitz10-Feb-17 10:38
mveGerry Schmitz10-Feb-17 10:38 
QuestionSomething I use a lot Pin
Munchies_Matt18-Jan-17 10:26
Munchies_Matt18-Jan-17 10:26 
So I pretty much exclusively write windows drivers, kernel mode, and its a very demanding environment. Lost of issues with concurrency, and something you user mode guys wont have come across, priority. Your code can be called at PASSIVE_LEVEL, DISPATCH_LEVEL, or, if you have an interrupt, some kind of DIRQL.

Now when you are at elevated levels, you cant touch pageable code or data, it has to be non paged, else you risk a page fault crash. You also cant wait or sleep, or allocate non paged memory at elevated levels.

So something I use, architecturally a lot, is a function call queue, and a thread, which runs at PASSIVE_LEVEL (thats real time priority by the way) to empty the queue.

Because only one function at a time is run by the thread, when taken off the queue, data cant be touched at the same time, and because the thread runs at passive level it can wait, and can call any function, or use any data.


And its very easy to use. Any event that occurs, just save the relevant data in a context, and queue it.

The whole functioning of the driver becomes very relaxed. Almost nothing needs locking, and almost all code runs at a low priority. Its a very good solution to highly complex environments and makes for aq very good product.
AnswerRe: Something I use a lot Pin
Richard Andrew x6421-Jan-17 5:44
professionalRichard Andrew x6421-Jan-17 5:44 
GeneralRe: Something I use a lot Pin
Munchies_Matt21-Jan-17 13:57
Munchies_Matt21-Jan-17 13:57 
JokeRe: Something I use a lot Pin
Brisingr Aerowing21-Jan-17 15:45
professionalBrisingr Aerowing21-Jan-17 15:45 
QuestionHow to build a tool using XML to draw a GUI and to generate an output stream? Pin
yobibytes17-Jan-17 5:43
yobibytes17-Jan-17 5:43 
AnswerRe: How to build a tool using XML to draw a GUI and to generate an output stream? Pin
Gerry Schmitz17-Jan-17 6:08
mveGerry Schmitz17-Jan-17 6:08 
GeneralRe: How to build a tool using XML to draw a GUI and to generate an output stream? Pin
yobibytes17-Jan-17 22:08
yobibytes17-Jan-17 22:08 
GeneralRe: How to build a tool using XML to draw a GUI and to generate an output stream? Pin
Richard MacCutchan17-Jan-17 22:17
mveRichard MacCutchan17-Jan-17 22:17 
GeneralRe: How to build a tool using XML to draw a GUI and to generate an output stream? Pin
Pete O'Hanlon17-Jan-17 23:18
mvePete O'Hanlon17-Jan-17 23:18 
GeneralRe: How to build a tool using XML to draw a GUI and to generate an output stream? Pin
yobibytes18-Jan-17 0:15
yobibytes18-Jan-17 0:15 
GeneralRe: How to build a tool using XML to draw a GUI and to generate an output stream? Pin
Pete O'Hanlon18-Jan-17 0:21
mvePete O'Hanlon18-Jan-17 0:21 
GeneralRe: How to build a tool using XML to draw a GUI and to generate an output stream? Pin
Pete O'Hanlon18-Jan-17 0:28
mvePete O'Hanlon18-Jan-17 0:28 
AnswerRe: How to build a tool using XML to draw a GUI and to generate an output stream? Pin
yobibytes19-Jan-17 23:33
yobibytes19-Jan-17 23:33 
GeneralRe: How to build a tool using XML to draw a GUI and to generate an output stream? Pin
Gerry Schmitz20-Jan-17 5:14
mveGerry Schmitz20-Jan-17 5:14 
QuestionWill C++ and even MFC Work in this Environment? Pin
Richard Andrew x6415-Jan-17 10:50
professionalRichard Andrew x6415-Jan-17 10:50 
AnswerRe: Will C++ and even MFC Work in this Environment? Pin
Munchies_Matt18-Jan-17 10:29
Munchies_Matt18-Jan-17 10:29 
AnswerRe: Will C++ and even MFC Work in this Environment? Pin
Albert Holguin18-Jan-17 12:17
professionalAlbert Holguin18-Jan-17 12:17 
GeneralRe: Will C++ and even MFC Work in this Environment? Pin
Richard Andrew x6421-Jan-17 1:54
professionalRichard Andrew x6421-Jan-17 1:54 

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.