Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
donkulator288486dThe traffic from all the threads still has to go through a single wire though, and there's more than one way to skin that particular cat.
-
donkulator288486d@Lensflare Where as French is just disturbing. Il ne faut pas enculer des mouches.
-
donkulator288486d@Demolishun I used to be into bdsm, bestiality and necrophilia but then I realised I was flogging a dead horse.
I'll get me coat.
Related Rants
wrote dumb threading and sockets system to make a bunch of https calls
extracted the working code into nice objects and methods to make it look sane and so I can re-use the code for more complex functionality that builds on itself
now suddenly the threads are locking and not multi-threading anymore
turns out?
the http(s) library expects the tls / https thing in an Arc / atomic reference count
but despite Arc being literally intended and designed for threadwork it seems the library in question throttles / locks itself if they are all using the same Arc (I don't even know how that is possible?)
if I clone the tls / https thing, no throttle / lock issues 😒
why did they even try that lol, they didn't test?!
I really didn't expect to be better at multi-threading than others already. I'm newbie. pls
rant
rust
threads