Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
26 May, 2013, 07:32:27 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: [1]   Go Down
  Print  
Author Topic: NSpire multithreading proof-of-concept -  (Read 394 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
tangrs
LV4 Regular (Next: 200)
****
Offline Offline

Gender: Male
Last Login: Today at 05:38:42
Date Registered: 13 July, 2011, 04:32:25
Location: Australia
Posts: 189

Topic starter
Total Post Ratings: +86

View Profile WWW
« on: 25 March, 2012, 10:12:39 »
+5

While making the movie player, I had realised one problem and that was that the frames could not decode fast enough. So I decided that multithreading was needed so it could continue to decode frames in the background while occasionally waking up to update the screen.

Of course, Ndless provides no such features. You have to write it yourself! So, without further ado, I present to you a proof-of-concept of multithreading on the Nspire calculator. After I refine it a bit, I'll integrate it into the movie player.

It's BSD licenced so feel free to take it, hack it, modify it, improve it, use it in your own projects or rip it to shreds.

Source code
Logged
Lionel Debroux
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Yesterday at 21:59:14
Date Registered: 17 December, 2009, 09:37:25
Location: France
Posts: 1855

Total Post Ratings: +208

View Profile WWW
« Reply #1 on: 25 March, 2012, 10:32:10 »
0

Hey, that's another nifty project. Good job Smiley

I've cross-posted it to http://tiplanet.org/forum/viewtopic.php?t=8936 .
Logged

Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.
compu
LV5 Advanced (Next: 300)
*****
Offline Offline

Gender: Male
Last Login: Yesterday at 23:52:17
Date Registered: 09 January, 2011, 22:45:52
Location: Germany
Posts: 226

Total Post Ratings: +53

View Profile
« Reply #2 on: 25 March, 2012, 10:53:59 »
0

Wow, that's awesome.  Shocked
Logged

Nspire I/O Discussion|Website - cross-compatible with Prizm!
TI-Nspire Programming Statistics
Jim Bauwens
Lua! Nspire! Linux!
Editor
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 23:59:07
Date Registered: 28 February, 2011, 22:32:12
Location: Belgium
Posts: 1733


Total Post Ratings: +180

View Profile WWW
« Reply #3 on: 25 March, 2012, 14:03:21 »
0

Very nice Cheesy
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.225 seconds with 30 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.