01:18 |
* |
asciilifeform 'enjoying' the wunderful world of 'write one-writer-many-readers mutex from thin air' |
01:19 |
asciilifeform |
( cpp14 included one, but 11 -- not. and sane gcc is perma-fossilized on 11... ) |
01:20 |
* |
asciilifeform thinks 'maybe cribbable from 14's stdlib?' |
01:21 |
asciilifeform |
prolly not portably tho, likely soup of x64 asm. |
| |
~ 8 hours 58 minutes ~ |
10:20 |
awt |
http://logs.bitdash.io/pest/2022-12-25#1019414 << If you want a patch I can produce it. |
10:20 |
bitbot |
Logged on 2022-12-25 22:07:13 asciilifeform[jonsykkel|awt|deedbot]: phf: atm even that 'send erryone a % command to run' lolbug still standing |
| |
~ 34 minutes ~ |
10:54 |
asciilifeform |
awt: would be great, if you've the cycles, ty |
| |
~ 5 hours 59 minutes ~ |
16:54 |
phf |
http://logs.nosuchlabs.com/log/pest/2022-12-26#1019498 << `he now has two problems` |
16:54 |
dulapbot |
Logged on 2022-12-26 01:19:39 asciilifeform: thinks 'maybe cribbable from 14's stdlib?' |
| |
~ 45 minutes ~ |
17:40 |
asciilifeform |
phf: went and rtfm'd, and is even worse than at 1st thought ( found wai committee did not include in -11. r-w locks apparently weigh enuff so as to make spinlocking look good in comparison..) |
17:41 |
* |
asciilifeform for many many yrs dodged the draft of having to giveashit about locks, semaphores, etc. and nao having to reload into head |
17:44 |
asciilifeform |
orthogonally -- asciilifeform suspects that his algo from earlier is actually braindamaged. tick() oughtn't be called at 1hz by a thread, oughta be triggered intelligently on a write if the latter happened 1s <= t <= maxticks, per timer, after last write; |
17:45 |
asciilifeform |
and then purge by tick() floor(t) times. |
17:45 |
asciilifeform |
( on read ditto ) |
17:46 |
asciilifeform |
still not gives parallelistic lookup tho. for that, sumthing like rw lock not escapable afaik. |
17:50 |
phf |
tick is essentially gc phase, if you do `smart trigger` you end up with hidden and random `gc phase`. milage may vary |
| |
~ 1 hours 7 minutes ~ |
18:57 |
asciilifeform |
phf: also tru |
18:57 |
* |
asciilifeform leaning in direction of mechanical simplicity, 'optimize laters' |