Skip to content

SynthesizerからMutexを外す#666

Merged
Hiroshiba merged 1 commit into
VOICEVOX:mainfrom
qryxip:rm-mutexes-from-synthesizer
Oct 30, 2023
Merged

SynthesizerからMutexを外す#666
Hiroshiba merged 1 commit into
VOICEVOX:mainfrom
qryxip:rm-mutexes-from-synthesizer

Conversation

@qryxip

@qryxip qryxip commented Oct 29, 2023

Copy link
Copy Markdown
Member

内容

Python APIとJava APIでの、( #553 により不要になっているはずの)Synthesizerに対するMutexを外します。

#662 (comment)

関連 Issue

その他

@sevenc-nanashi Java APIの方がMutexになってたのって、何か理由があったりしますか?

@sevenc-nanashi

Copy link
Copy Markdown
Member

シンプルにRustのことをあまり知らなかったからですね…Arc単体の挙動がわからなかったので慣れてるArc<Mutex<...>>にしたはずです。

@Hiroshiba Hiroshiba left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!!

たぶん関係ないのですが、なんか雰囲気的に制作当初はラップAPIはasyncにする雰囲気じゃなかったのかなという印象を感じました!

@Hiroshiba Hiroshiba merged commit 322e011 into VOICEVOX:main Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants