Jump to content

Search the Community

Showing results for tags 'c++0x'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • B-Zone
    • Announcements
    • B-Zone Clips
    • Community
    • Forum Suggestions
    • Market
    • Questions and Answers
  • San Andreas Multiplayer
    • RPG.B-Zone.Ro:7777 Roleplay
    • Wiki Website
  • Rage Multiplayer
    • V.B-ZONE.RO
  • B-Zone Online
    • B-Zone Championships
    • B-Zone Clans & Clubs
    • B-Zone Radios
    • Counter-Strike 1.6
    • Discord
    • Metin2
    • Minecraft
  • IT Zone
    • Design
    • Gadgets
    • Programming
    • Software & Hardware
    • Video Games
  • Real life
    • Entertainment
    • History
    • Juridic
    • Lifestyle
    • Politics
    • Sport
    • Vehicles
  • Trash Can
    • Trash Can
  • The Last Generation [TLG]'s The Last Generation
  • Very Important Person [VIP]'s [VIP] - Topic
  • zero Limits [zL]'s Topics
  • Safe 4 Family [S4F]'s S4F - Forum
  • Sons of Anarchy MC [SoA]'s Club Matters
  • The Last Kingdom [TLK]'s Topics
  • The First Generation [TFG]'s General
  • United Blood Nation [UBN]'s DSICUTII LIBERE MEMBRII!
  • Wild Balkans [WB]'s Informatii
  • True Silent Aimbot [TSA]'s Topics
  • Alliance [A]'s General
  • Merry Weather [MW]'s Prezenta activitati
  • Merry Weather [MW]'s Anunturi Importante
  • Merry Weather [MW]'s Giveaway
  • Merry Weather [MW]'s Giveaway
  • Dangerous Life [dL]'s General
  • Elite Squad [eS]'s Discord

Calendars

  • Community Calendar
  • Merry Weather [MW]'s Events

Product Groups

There are no results to display.

Categories

  • MODURI
    • CLEO/SAMPFUNCS
    • Vehicles
    • Skins
    • Sounds
    • Effects
    • Weapons
    • Others
    • Modpacks
  • True Silent Aimbot [TSA]'s Files
  • Merry Weather [MW]'s Event

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Skype


Steam ID


Discord


Instagram


Location


Hobbies


Real name


RPG Nickname

Found 1 result

  1. Jocurile sunt aplicatii care au nevoie sa faca foarte multe lucruri in timp real. Pentru a face mai multe lucruri e nevoie sa folosim multithreading. Dar creearea unui thread pentru fiecare lucru pe care trebuie sa-l facem intr-un cadru este destul de costisitoare (si chiar inutila). De aceea, eu m-am gandit sa creez un WorkerThread care trebuie sa fie creeat o singura data (atunci cand aplicatia este pornita) si poate sa execute mai multe functii (care pot fi schimbate atunci cand actualizam un cadru pe care trebuie sa-l desenam). Multithreadingul este foarte folositor atunci cand avem operatii pe care le putem face de-a lungul a mai multe cadre (exemplu: sa calculam o ruta - nu e neaparat sa facem asta intr-un singur cadru) Pentru a putea folosit la maxim aceasta clasa, ar trebui sa creeam o alta clasa ThreadManager care va creea la inceput atatea thread-uri cate are procesorul si le va aloca atunci cand va fi nevoie de ele. De asemenea, aceste threaduri pot fi folosite si la initializare (un thread incarca cateva animatii, altul se ocupa de compilarea si creearea shaderelor), threadul principal doar dandu-le "activitati" threadurilor, iar atunci cand ramane ajunge la sfarsitul initializarii, va apela o functie care va astepta toate threadurile. (Aici este destructorul) Exemplu: Procesorul are 4 nuclee si 8 threaduri. Vom creea 8 threaduri pe care le vom aloca in timpul jocului. !Atentie: Trebuie sa folositi un compilator C++11.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.