HackerTrans
トップ新着トレンドコメント過去質問紹介求人

franke2

no profile record

投稿

[untitled]

1 ポイント·投稿者 franke2·4 年前·0 コメント

コメント

franke2
·3 年前·議論
> abused oauth permissions to take over the email accounts of their users

Woah, never knew this. Do you have any reference? I cannot find anything about it.
franke2
·3 年前·議論
Even if very similar, I prefer the MutexedObj class described in those two articles

https://fekir.info/post/extend-generic-thread-safe-mutexed_o...

https://fekir.info/post/sharing-data-between-threads/#_bind-...

In particular it explains why providing getters or operator* like some other implementation do (not in this case) is not a feature, and it does not use multiple classes (like the linked implementation of SerenityOS does) making the implementation simpler.

Also the "simple" implementation is just 20 lines of code...
franke2
·4 年前·議論