Ventures into the depths of programming

Go down

Ventures into the depths of programming

Post  Dobi on Sun Jun 08, 2014 1:01 pm

Here's what I made for my Basics of Operating Systems assignment. I'm just going to copy the description from YouTube:

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:
- Ashiq Alibhai for releasing Franco's implementation as an easy to use DLL:

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 Razz


Posts : 176
Join date : 2012-04-06
Age : 24
Location : Bulgaria, Sofia

View user profile

Back to top Go down

Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum