Aquinus
Resident Wat-man
- Joined
- Jan 28, 2012
- Messages
- 13,147 (2.93/day)
- Location
- Concord, NH, USA
System Name | Apollo |
---|---|
Processor | Intel Core i9 9880H |
Motherboard | Some proprietary Apple thing. |
Memory | 64GB DDR4-2667 |
Video Card(s) | AMD Radeon Pro 5600M, 8GB HBM2 |
Storage | 1TB Apple NVMe, 4TB External |
Display(s) | Laptop @ 3072x1920 + 2x LG 5k Ultrafine TB3 displays |
Case | MacBook Pro (16", 2019) |
Audio Device(s) | AirPods Pro, Sennheiser HD 380s w/ FIIO Alpen 2, or Logitech 2.1 Speakers |
Power Supply | 96w Power Adapter |
Mouse | Logitech MX Master 3 |
Keyboard | Logitech G915, GL Clicky |
Software | MacOS 12.1 |
Assuming what? That their code does something?
Wait for them all to finish, kill them off. What's so damn complicated?
It's called a blocking function, this crap has been around since the '80s, get with the program.
I can't help it if Windows' threading libraries are sub-par.
Not if you do it right. Take a look at any video card: you figure out the position of the polys, then once that's done you render the textures, then when that's done you do post-processing. Each one of those relies on the one before it, but nobody gives a crap because nothing is done out of sequence.
Except that you have hundreds of computers and a few people. Those people don't have to wait on eachother to move on to the next computer, whereas a single person has to wait on himself to be done turing on a computer in order to turn on the next.
It's the same queue over and over again until the main thread gets out of the main loop.
Move cars, check for collisions between cars, make sure all the buildings have the dependencies they need, make buildings do what they do, assuming that there's an array of int32_t's (one index for each building) do the whole taxes gained/maintenence spent. Then you could have the main thread total that all up, and voila! that's most of everything!
Telling a few threads to do a sequence of functions is obviously just too difficult for you.
You're like talking to a stone wall. Ignorant yet all knowing. This is the same crap you sent in your last 3 long posts and you still don't learn and haven't told me anything new. I'm not going to argue if I can't find someone who truly knows what they're talking about and is willing to listen and learn. Not to mention that your statements slightly change every time you post them to mean something a bit different.
I've also yet to see anyone agree with your analysis of the problem...
I'm done arguing against your endless wall of BS.