2023-03-03¶ 3/3¶ Pythonで排他制御を実現するデコレータ¶ ググると threading.Lock を使って @synchronized という名前で色んな実装例が出てくる。 Python で書く synchronized - Oboe吹きプログラマの黙示録 python - Possible to create a @synchronized decorator that's aware of a method's object? - Stack Overflow wrapt/07-the-missing-synchronized-decorator.md at develop · GrahamDumpleton/wrapt