Intermediate Java Tutorial – 26 – Learning about Threads

[ad_1]
Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –


Posted

in

by

Tags:

Comments

36 responses to “Intermediate Java Tutorial – 26 – Learning about Threads”

  1. Hana Ryzhuk Avatar

    I love your "pretty cool, right?"

  2. Flying Mindz Official Avatar

    NEVER catch an exception without printing the stack Trace! In case there is another exception throws, you won't notice it! If there is onky one Exception to catch, then catch this specific one!

  3. AyToNiic Avatar

    0:52 i can use this for my "health project" !!!!

    thanks ( ͡° ͜ʖ ͡°)

  4. for People Avatar

    hi bro concugalations ı little now english but your video understand 🙂

  5. Pablo Bello Avatar

    FINALLY… NO INDIAN ACCENT

  6. Dominick Avatar

    "NAIN NAIN NAIN" cit.

  7. gonbabence Avatar

    OMG NO INDIAN ACCENT !!!! 😀

  8. SaxMona Avatar

    could someone please leave a link to that java game dev. Bucky mentions so often ???

  9. Ashish kumar Avatar

    hey, could you send me or upload some example of java with answer like practice set of java that consist beginner, intermediate and advance

  10. Foci Eke Hi To - Avatar

    LOL something you might be interested in…. BOOBS!

  11. Chihab Ahmed Avatar

    Hi there, just a question about multi threading for web crawler in java, is it good to implement multi threading crawler that will crawl multiple web sites at the same time instead of single one, because i heard that multi threading is not always good. just let me from your understanding to multi threading will it be good to use it in such application. thanks

  12. San Wong Avatar

    Love the ad on your new blog.

  13. The gamer Avatar

    how the hell….
    thread.sleep(time );
    I don't understand it

  14. Jason Zimmerman Avatar

    hey Bucky, I like how  you stopped scrolling your screen on the chick pic. nice. lol

  15. Allen Liu Avatar

    good explaination, but can you change the funny class name 'tuna' to something makes more sense

  16. Vladimir Putin Avatar

    "I wanna show you guys something that you might be interested about"
    0:32

    damn right i'm interested m8

  17. wyatt Avatar

    Man Bucky is so awesome

  18. JaSumMakedonec Avatar

    Like for the girl on the ad 😀

  19. Berk Can Avatar

    whenever i search about java or android always you pop up xD

  20. Nesbi Avatar

    Hello +thenewboston 
    I'm new to programming with threads and Game-Programming. I did a few little test game projects for myself but didn't include much Threading in them.
    My "Game" processing is split in update(tick) and frames. At first I had one loop in one thread looping through update (every 1/60 of a second) and frames (unlimited drawing per second/ as fast as the PC can handle it)
    After watching  a bunch of videos about Threads, like yours, I tried it out and used it in my test-game. I split update and frames in two different threads.
    My first (main) thread handles keyboard input and frame-drawing, while my second thread handles update/tick.
    This works quite well, but does it make sense?

    At first I thought it would be great if my frames-thread has problems this wouldn't affect my update-thread and vice versa.
    But after thinking about it, my frames-thread doesn't have much to handle, which means he wouldn't be slower than my update-thread.
    And when my update-thread is too slow, it (in theory) doesn't affect my frame-drawing, but after all see-able. Because when there are 250000fps and 20ups it will seem like ~20fps…

    Is there an other advantage about multi-threading update and fps or doesn't it make much sense in game-programming?

  21. Cheng Zhang Avatar

    it is very good  tutorial 

  22. Zubair Abid Avatar

    At 6:31, I think Bucky meant 'this' keyword. 'self' is python

  23. LosEagle Avatar

    Where exactly is he passing value to constructor?

  24. Games. Avatar

    0:54 what a nice cOOde

  25. ducksauce8188 Avatar

    lololol massive beeeeeoooooobbbbbssss

  26. John Kuchta Avatar

    I was told there was a java tutorial here….

    All I saw was BOOBIES! Yes!

  27. Barack Obama Avatar

    Fantastic titorial.

  28. Dave Breen Avatar

    bucky ur a legend

  29. Viser Excizer Avatar

    awesome rack, Boy i'd really like to encapsulate her class with my object if you know what I mean.

  30. Poursa Avatar

    That has to do with your pc or your internet connection try watch them on another day and you should be fine!

  31. dzigerica666 Avatar

    Wait Tuna is Runnable? I tought Tuna should be Swimable!

    *the rest of Internet laughs out loud*

  32. John van der Vaart Avatar

    go home, you're drunk…

Leave a Reply

Your email address will not be published. Required fields are marked *