Geeks With Blogs
Timo Heinäpurola January 2012 Entries
Command passing after a diet
Command passing is a handy way to execute pieces of code on specific threads. The idea is simple enough: Write a command into a buffer and that command then gets executed on some specific thread that monitors that command buffer. This paradigm is used in graphics APIs like DirectX and OpenGL, for instance. This allows you to split your data into working sets that are owned by a single thread and must maintain their state over a specified time period. In the graphics engine I’m developing at Raccoon ......

Posted On Wednesday, January 11, 2012 9:58 PM

Checking if a view has changed in ASP.NET
The typical way to check for whether anything has changed in the view when you’re navigating away from a page is to bind a method to the change event of each input and to set a flag if this has happened. This flag is then checked when leaving the page and a notification is shown to the user if the flag is raised. This is all good but it does not take into account things like changing the order of inputs and changing values back to their original values. Also, creating dynamic elements makes this ......

Posted On Wednesday, January 4, 2012 10:50 AM

Copyright © raccoon_tim | Powered by: GeeksWithBlogs.net