Ventures into the depths of programming
Blender World :: General :: Other Stuff
Page 1 of 1
Ventures into the depths of programming
Here's what I made for my Basics of Operating Systems assignment. I'm just going to copy the description from YouTube:
Bro tip: Watch in full HD.
In the second video you can see the spreading of the workload among the CPU cores and also the change of number of threads and used memory.
As for why I made this topic, I figured we could use a thread (no pun intended) for non-CG doodles
me wrote:
Just a quick demo of a little simulation I made. It showcases the synchronisation betwean threads and a common shared ressource.
Each snake runs on a seperate thread. All of the snakes access the same grid.
All done with simple EventWaitHandles and locks. I don't call Thread.Sleep(), Thread.Abort() or Thread.Interrupt() and I don't spin any of the threads.
Credit goes to:
- Gustavo Franco for implementing the A* pathfinding algorithm: http://www.codeguru.com/csharp/csharp/cs_misc/designtechniques/article.php/c12527/AStar-A-Implementation-in-C-Path-Finding-PathFinder.htm
- Ashiq Alibhai for releasing Franco's implementation as an easy to use DLL: http://www.csharpcity.com/reusable-code/a-path-finding-library/
Video recorded with nVIDIA ShadowPlay
Bro tip: Watch in full HD.
In the second video you can see the spreading of the workload among the CPU cores and also the change of number of threads and used memory.
As for why I made this topic, I figured we could use a thread (no pun intended) for non-CG doodles
Dobi- Posts : 176
Join date : 2012-04-06
Age : 30
Location : Bulgaria, Sofia
Blender World :: General :: Other Stuff
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|